How to change location of assets in plugins.js

4 replies · opened Apr 22, 2016

JjrheederApr 22, 2016

Hi there,

I am looking to change the location of assets (renaming images to img as an example) but keep getting error from plugins.js saying cannot find the resource in image/{whatever image}. So my question is how do I change the default location to my own structure (images to img)?

SSemicolon WebSTAFFApr 26, 2016

Hello,

It is Definitely Possible to change the Location of your Assets, however you will also need change the images to img in the CSS Files and the js/functions.js File since some of the Images have been used in the Background Images.

This should definitely work fine. Let us know if we can help you with anything else or if you find any further issues.

JjrheederMay 4, 2016

Hey,

Thank you for the reply, but it doesn't really answer my question.

How and where do I change the code so that I can set the path for the images to "img/" instead of the current "images/"

JjrheederMay 4, 2016

Hey Sorry,

Just realised it has to mainly done in the css files

SSemicolon WebSTAFFMay 4, 2016

Hello,

Yes, you will need to change the Paths of your current images/ Folder to img/ in the CSS Files.

This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard