Forums / Setting Up Categories, Products, Attributes / product larger image help

product larger image help

Locked

Views: 1,159

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
3 Apr 2007, 8:25 PM
#1
tomzo avatar

tomzo

New Zenner

Join Date:
Mar 2007
Posts:
28
Plugin Contributions:
0

product larger image help

Hi all,

 I've been reading some threads about setting up larger images for products, so when users click on larger they see... well a larger image.  I uploaded a larger image to includes/images/larger/mySubCategory and edited the **jscript_main.php** file to open a larger window for the image.  So I figured when I clicked on the larger image link I'd see the bigger image, but nada.  Have I missed something?  

Thanks
:huh:

3 Apr 2007, 9:00 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: product larger image help

I uploaded a larger image to includes/images/larger/mySubCategory and edited the jscript_main.php file
First unedit the file or replace with original....

This is automatic in Zen Cart when you follow the built in schema and no cart files are required to be changed.

to insure that this will work - start with one product and create 3 images normal medium and large default woud be 80x100, 120x150, and the large can be 480x640

name these as

image.jpg = normal
image_MED.jpg = medium
image_LRG.jpg = large

In the product entry from the admin upload the normal image to "main" which is /images
then FTP the medium and large to /images/medium and images/large respectively

then in the catalog side navigate to this product and you will see the different sizes and the large image when clicked automatically

Zen-Venom Get Bitten

4 Apr 2007, 12:17 AM
#3
nomadrip avatar

nomadrip

Zen Follower

Join Date:
Feb 2007
Location:
Calabasas, CA & St. Pete, FL
Posts:
87
Plugin Contributions:
0

Re: product larger image help

tomzo:

Hi all,

 I've been reading some threads about setting up larger images for products, so when users click on larger they see... well a larger image.  I uploaded a larger image to includes/images/larger/mySubCategory and edited the **jscript_main.php** file to open a larger window for the image.  So I figured when I clicked on the larger image link I'd see the bigger image, but nada.  Have I missed something?  

Thanks
:huh:

If the folder is actually named "larger" instead of "large", then that could be a problem...

-James Starting from scratch!
Started out w/ZenCart 1.3.7 (No upgrades)
http://www.nomadicmoto.com/
Review my site here: http://www.zen-cart.com/forum/showthread.php?t=63630

4 Apr 2007, 3:48 PM
#4
tomzo avatar

tomzo

New Zenner

Join Date:
Mar 2007
Posts:
28
Plugin Contributions:
0

Re: product larger image help

I'll try your suggestion kobra, thanks. Does it matter if I omit medium??

I think the directory was called larger, but could have been large, I didn't add it or edit it so it's whatever it was originally.

If I want to use subfolders, to keep things organised, can I do so like this:

I have a category confectionary, so upload larger confectionary images to images/large/confectionary or is it images/confectionary/large.

Thanks
T

:smile:

4 Apr 2007, 6:25 PM
#5
tomzo avatar

tomzo

New Zenner

Join Date:
Mar 2007
Posts:
28
Plugin Contributions:
0

Re: product larger image help

Great, I have larger images. It wouldn't work for subfolders however, do I need to edit something for it to look in subfolders?

5 Apr 2007, 12:36 AM
#6
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
858
Plugin Contributions:
0

Re: product larger image help

Hello All,
Would someone please take a look using new IE ( use my sig ) follow a product image to its largest view and get a pop up drop down menu with it. Possibilities?
Just did some batch resizes and renames to fill med and lrg dirs resized norm and overwrote originals with same name. Yes I backed up first. > :smartalec:
Thank You,
John