Page 1 of 1

[SOLVED] Subfolder in Product Image Folder

Posted: Sat Nov 30, 2019 10:29 am
by barnone
Is it possible to place images in a subfolder, within the image folder of OC for products?

I'd assume they would then link to products in another slash?

IE instead of image/data/imagename.jpg
it would be image/data/subfoldername/imagename.jpg


Thanks

Re: Subfolder in Product Image Folder

Posted: Sat Nov 30, 2019 6:29 pm
by johnp
There's a create folder link on the image editor or you can do it via FTP. :)

Re: Subfolder in Product Image Folder

Posted: Sun Dec 01, 2019 2:01 am
by barnone
Thanks, I have done it via FTP, and linked through import tool.
Trying to figure out why my pictures are not popping up on each product page.

Re: Subfolder in Product Image Folder

Posted: Sun Dec 01, 2019 2:12 am
by by mona
have you changed your config folders (admin and root) to reflect the change
define('DIR_IMAGE', xxxx
and cleared your cache ?

Re: Subfolder in Product Image Folder-Solved

Posted: Sun Dec 01, 2019 3:09 am
by barnone
So Solved- been fighting this for months. Image and subfolder names are exact. So far example if you ever use a capital in a folder, it has to be carried through. The system does not recognize A, as a.

Re: Subfolder in Product Image Folder

Posted: Sun Dec 01, 2019 3:19 am
by by mona
thank you for coming back with solution

Unix/Linux is case sensitive
and do not use spaces either use _ or -

Re: Subfolder in Product Image Folder

Posted: Sun Dec 01, 2019 5:19 am
by OSWorX
by mona wrote:
Sun Dec 01, 2019 3:19 am
thank you for coming back with solution

Unix/Linux is case sensitive
and do not use spaces either use _ or -
Case sensitive in Linux ist since the beginning - only with the stupid MS-Win you can use A or a and it does (almost) no matter!
Also never use (beside no spaces) special characters like: !"§$%&/()=?\}][{ and no Umlauts like äöüÄÖÜ