Forums / Templates, Stylesheets, Page Layout / Use one image for product listing and another for product detail

Use one image for product listing and another for product detail

Locked

Started by outlawlb on 17 Mar 2007, 4:01 AM · Views: 2,473

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 Mar 2007, 4:01 AM
#1
outlawlb avatar

outlawlb

New Zenner

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

Use one image for product listing and another for product detail

How would I go about doing this?

Would Image Handler be the best thing to use?

17 Mar 2007, 4:10 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Use one image for product listing and another for product detail

Just upload a "medium" image for the product, and that will be used for the product-detail/info page. The small/default/original image will be used for the listings etc.

FAQ on multiple images per product:
https://www.zen-cart.com/tutorials/index.php?article=58

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Mar 2007, 4:12 AM
#3
outlawlb avatar

outlawlb

New Zenner

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

Re: Use one image for product listing and another for product detail

Thank you, that makes one aspect so much simpler.

17 Mar 2007, 4:22 AM
#4
outlawlb avatar

outlawlb

New Zenner

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

Re: Use one image for product listing and another for product detail

Thank you, that makes one aspect so much simpler.

How do I ensure the exact image for each? I just have to add _MED and it will automatically take it?

So I set it up like this?
For all the product info I have *_MED.(file type) in images/medium

and the small one I want for just in the main /images directory?

17 Mar 2007, 4:29 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Use one image for product listing and another for product detail

Just like in the FAQ, yes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Mar 2007, 4:50 AM
#6
outlawlb avatar

outlawlb

New Zenner

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

Re: Use one image for product listing and another for product detail

Awesome I will let you know if this works as I need it.

17 Mar 2007, 5:01 AM
#7
outlawlb avatar

outlawlb

New Zenner

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

Re: Use one image for product listing and another for product detail

But I thought of one more problem:

When the products are uploaded directly into the system on the admin side, how do you get the other images in there? You can only upload image.

As for as I see it only uploads one in and then you have to import the rest via FTP in directly and that would be a problem.

How would I fix this?

17 Mar 2007, 9:03 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Use one image for product listing and another for product detail

Outlawlb:

As for as I see it only uploads one in and then you have to import the rest via FTP in directly

Yes, that's how it's done.

If you wish to use a strictly web-based tool, you can install an addon like Image Handler, but that complicates the code and procedures a lot more than just uploading additional images.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Mar 2007, 5:09 AM
#9
outlawlb avatar

outlawlb

New Zenner

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

Re: Use one image for product listing and another for product detail

Well yes but it makes it easier to upload things to upload for others who are not coders like us. Thank you. I always try to make things as fool-proof as possible and I am just concerned with others uploading things to the site.