Zen Cart Logo
Forums / General Questions / large images in large/folder/ not showing

large images in large/folder/ not showing

Views: 893

Results 1 to 6 of 6
15 Sep 2016, 1:54 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

large images in large/folder/ not showing

Yes, this is a modified cart but I don't think I have modified anything to cause this problem

If a large image is in the folder/large and named with the proper ending, it shows up. If the large image is inside a folder inside that large folder, it can't find it.

The cart is not in the root but a subfolder but I doubt that's the issue.

So my question is how does this work? How does zen cart know where to find the large images? I haven't been able to find the code. I know it works with subfolders - have another version of zen in the root where it is working fine.

15 Sep 2016, 3:20 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: large images in large/folder/ not showing

If the base image is in the /images folder, then its large counterpart is located in /images/large. If the base image is in /images/subfolder, then its large counterpart is located in /images/large/subfolder.

15 Sep 2016, 3:49 PM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: large images in large/folder/ not showing

yup and that is working elsewhere - just not in this modified site. I need to find the code that has it search in the subfolders.

15 Sep 2016, 3:56 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: large images in large/folder/ not showing

It doesn't "search". The path of the image is stored in the database, typically (default) to be based off of DIR_WS_IMAGES which is defined in the includes/configure.php file for that version of ZC and before.

One thing to be sure to do if using the admin product info page for uploading the file(s) is to upload the base image last (not the large version) so that the database properly reflects the location(s) of the image. Otherwise, all images will be based off of the large directory (for this issue).

The above was provided from a "hunch" since the process of loading the image(s) hasn't been described.

15 Sep 2016, 5:41 PM
#5
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: large images in large/folder/ not showing

No, the images are correct with the paths. The images show fine - it's just the large images in the subfolders of the folder large that aren't showing.

15 Sep 2016, 6:58 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: large images in large/folder/ not showing

So in which area is the large/folder/image.ext image not properly recognized? Main product image, additional images, popup image, popup additional image, or somewhere else?