Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Problems with thumbnails on the product info page

Problems with thumbnails on the product info page

Locked

Views: 5,527

Results 21 to 39 of 39
This thread is locked. New replies are disabled.
6 Jan 2008, 4:38 PM
#21
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Problems with thumbnails on the product info page

OK, I did not know one could not investigate if the site was down for maintenance. The site is up.

Small images are imagename.jpg
Medium images are imagename_MED.jpg
Large images are imagename_LRG.jpg

What is interesting is that everything worked when the site was local.

Thanks for looking.

6 Jan 2008, 4:42 PM
#22
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Oh, I was thinking of going to IH2 but wanted to get this going first before I started something new.

9 Jan 2008, 2:42 AM
#23
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Ok, it has taken me a bit to figure this out - how to load ALL the images onto the server. You can get a good idea on how to do this by reading Chapter 12, page 159 in the e-Start Your Web Store. What I failed to realize is that you have to tell ZC were the medium and large images are located. ZC does not make the assumption that just because you FTPed your images to the appropriate file locations (i.e small into /images; medium into /images/medium & large images into /images/large) and that you tell ZC that you loaded your small images in /images that your medium images will be in /images/medium or that your large images will be in /images/large. ZC does not make that assumption. You must tell ZC this information for EACH medium and large image you have for each product you have. (Remember to tell ZC in the drop down sub-directory menu on the far right where you want the image you are loading to be placed (e.g. medium image to medium sub-directory). It is a bit time consuming. I still thinking the IH2 might be a good alternative.

9 Jan 2008, 8:27 AM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Problems with thumbnails on the product info page

Actually, Zen Cart does make the assumption by default that medum images are in /images/medium/ and large images are in /images/large/. You do have to explicitly associate the small image with each product, whether that is by browsing to it and uploading from your pc, or entering the server location after it has been placed by ftp.

If your installation does not work this way, there may be a setting somewhere that you have inadvertently changed.

9 Jan 2008, 3:15 PM
#25
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Then the question becomes - What switch did I flip to remove the association?

9 Jan 2008, 3:45 PM
#26
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Problems with thumbnails on the product info page

I'm not sure there is a way to change that association. I do know that there is no mechanism in Zen Cart to independently associate medium and large images with a product - it is exclusively done with an automatic algorithm that works off of the small image filename.
There is a setting to change or remove the _MED and _LRG suffixes that denote medium and large images.

Maybe somehow you were not getting the medium and large images in the right locations through FTP. That would explain them then showing up when you browsed to them in the product edit page.

10 Jan 2008, 3:29 AM
#27
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

OK, this is what I THINK I know.

A: Local Computer (using ZC 1.3.7.1):

  1. Load image:
    a. I load a small image to /images (i.e. MW120.jpg)
    b. I load a medium image to /images/medium (i.e. MW120_MED.jpg)
    c. I load a large image to /images/large (i.e. MW120_LRG.jpg)
  2. Specify image for a category & product:
    a. Type the name of the small image in the Filename field (i.e. MW120.jpg) making sure that the Upload to directory dropdown is showing Main Directory
    or
    b. Search to the directory which I have the original small image via the Browse button making sure that the Upload to directory dropdown is showing Main Directory

Either Procedures WORKS – ALL Small, Medium and Large images show appropriately. You do not need to specify the medium and/or the large images in separate processes.

B: Store on Web Site (using ZC 1.3.8a):

  1. Load image via ftp:
    a. I load a small image to /images (i.e. MW120.jpg)
    b. I load a medium image to /images/medium (i.e. MW120_MED.jpg)
    c. I load a large image to /images/large (i.e. MW120_LRG.jpg)
  2. Specify image for a category & product:
    a. Type the name of the small image in the Filename field (i.e. MW120.jpg) making sure that the Upload to directory dropdown is showing Main Directory I can not find the file – this does not work!!!
    or
    b. Search to the directory which I have the original small image via the Browse button making sure that the Upload to directory dropdown is showing Main Directory.

    This works **But **. You DO need to specify the medium and/or the large images in separate processes. There are no automatic association of the medium and/or large images with the small image found in /images

For the life of me I can not find a switch in the Admin that is different between the local and the web based shop.

I need additional advice or I will be a head case.

10 Jan 2008, 9:47 PM
#28
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Problems with thumbnails on the product info page

Sawhorse:

You DO need to specify the medium and/or the large images in separate processes. There are no automatic association of the medium and/or large images with the small image found in /imagesAs has been stated earlier, that is an incorrect statement.

Sawhorse:

For the life of me I can not find a switch in the Admin ...that's because there is no switch that changes how it works.

10 Jan 2008, 9:52 PM
#30
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Problems with thumbnails on the product info page

Sawhorse:

  1. Load image:
    a. I load a small image to /images (i.e. MW120.jpg)
    b. I load a medium image to /images/medium (i.e. MW120_MED.jpg)
    c. I load a large image to /images/large (i.e. MW120_LRG.jpg)
  2. Specify image for a category & product:
    a. Type the name of the small image in the Filename field (i.e. MW120.jpg) making sure that the Upload to directory dropdown is showing Main Directory
    or
    b. Search to the directory which I have the original small image via the Browse button making sure that the Upload to directory dropdown is showing Main Directory

Either Procedures WORKS – ALL Small, Medium and Large images show appropriately. You do not need to specify the medium and/or the large images in separate processes.

There is no need to use the category/product edit page to upload the medium/large images. In fact, doing so could cause confusion and prevent your additional images from loading properly.

And do your FTP uploads afterward.

I suggest this:

  1. Create your product/category. While doing that, specify one image ... specifically, the small image. ie: MW120.jpg by using the Browse button to locate the file on your PC.
    It will upload that image for you.

  2. Use FTP to upload your MW120_MED.jpg image to the /images/medium folder.

  3. Use FTP to upload your large images (MW120_LRG.jpg) to the /images/large folder.

You can use FTP to add additional small or large images if desired.

13 Jan 2008, 11:27 PM
#31
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Well, it has taken me a bit to get my act together and test the above procedure that Dr.Byte indicated. The procedure “worked… but” . Let me make myself clear – it worked for me, but I had to do something different than I normally do.

The process that DrByte gave works great EXCEPT that I had to do something differently. It has to do with the FTP upload process. I have a very old 2003 version of WS_FTP LE (ver. 6) [which I never use], and I have the current version of EditPlus. (Ver.2.31) [which I use all the time].

I went thru the outline process and the small ipg image loaded fine via product/category. I then FTP’ed (using EditPlus) the medium and large images to their respective directories. I then tested the process online. The small image was there, the medium and large images were not!!!.

I then deleted the medium and large images on the server, I then FTP’ed (using WS_FTP LE) the medium and large images to their respective directories. I then tested the process online. The small image was there, the medium and large images were also there. How could that be?

The reason why the images worked using WS_FTP LE and not EditPlus was that my default upload transfer type for WS_FTP LE was binary and my default upload transfer type for EditPlus was ASCII. **Binary works, ASCII does not for images. ** (Oh, I did try binary with EditPlus and it works fine.)

There are two questions:

  1. Why binary for images?
  2. Should we always transfer using binary for all ZC files?
13 Jan 2008, 11:43 PM
#32
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems with thumbnails on the product info page

Sawhorse:

There are two questions:

  1. Why binary for images?Because images are binary files
    Sawhorse:

  2. Should we always transfer using binary for all ZC files?Probably not, because most Zen Cart files are ASCII files.

Recommendation: get a good, reliable and free FTP program - FileZilla, which comes pre-configured to auto detect the file type and respond appropriately (as I believe do later versions of WS_FTP if you prefer to pay money!

13 Jan 2008, 11:49 PM
#33
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Well of course!! Images - binary; Text - ASCII Now that you tell me I feel really, really dumb. (Not the first or last time I am sure). Thanks for the hit on the head. I could have had a V8.

13 Jan 2008, 11:53 PM
#34
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems with thumbnails on the product info page

Sawhorse:

Well of course!! Images - binary; Text - ASCII Now that you tell me I feel really, really dumb. (Not the first or last time I am sure). Thanks for the hit on the head. I could have had a V8.Happens to us all. There's a few posts scattered around the forum that I'd rather forget too. Happily, at my age, that just keeps getting easier and easier to do. :yes:

22 Jan 2009, 9:03 PM
#35
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

I have looked through several forums, but I cannot find the answer; my thumbs will not fully load in IE -

http://civilwardocs.com/index.php?main_page=product_info&cPath=74_76&products_id=198

but they are fine in FF -

not sure what I am missing, but I have tried several things without success.......

:censored:

22 Jan 2009, 11:49 PM
#36
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

i guess i should not have used the :censored: emoticon

please someone help :frusty:

23 Jan 2009, 9:44 AM
#37
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problems with thumbnails on the product info page

Actually it is displayed, just obscured, and in IE7 & IE8 only. Try adding h1#productName {width:260px} to your stylesheet.

23 Jan 2009, 1:16 PM
#38
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Thank you...I can see that now; it does fix it, but it tweaks the alignment in FF....now that I have some direction, I will see what I can affect...

I really appreciate your help!

Daryn

25 Jan 2009, 6:37 PM
#39
outdoorsinteriors avatar

outdoorsinteriors

Zen Follower

Join Date:
Jan 2007
Posts:
104
Plugin Contributions:
0

Re: Problems with thumbnails on the product info page

Is there a way to remove the text "large image" for only additional images (at bottom) on the Product Info page?

Thanks