Not sure if this is where I should post this question, but here goes. Currently I have all of my images in the mm5/graphics/00000001 directory. I want to separate directories based on whether the image is an admin image such as header graphics, thumbnails, and the images for products by category. What is the best way to do this. Should I put the directories inside the mm5/graphics folder or outside in the root folder? Thanks for the help in advance.
Announcement
Collapse
No announcement yet.
Image location
Collapse
X
-
Re: Image location
Your store has a base href tag pointing to http://www.stop-crime.com/mm5/ so logically the best place to put images would be somewhere under this directory - and "graphics" is as good as any. Then you can create subdirectories for images for each category or product type, or however is most convenient for you to keep track of what's where.
Also, if you utilize the fact that the base href tag is defined store-wide, you can then reference all these images with shorter URLs using just "graphics/directory/file.jpg" and the server will load them properly in both secure and non-secure modes (the base href tag will automatically switch to "https").
Comment