Try the Demo

Magento Forum

   
Two separate image galleries per product
 
R.Verheij
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-04-08
Amsterdam, Netherlands
 

My question is this: how can I have two different sets of images per product, of variable size, and through which code can I get their sources?

I use a flash movie instead of a large image that uses all images gained from this code:

foreach ($this->getGalleryImages() as $key => $_image):

Which returns all sources of the images of that product. But I want some detailed images below it aswell that do NOT show up in the flashmovie, which can be managed through the images of a product in the backend… So I made a second gallery attribute, through which I now seem to have two sets of images to fill for every product in the backend. But when I upload a file to the seccond, it is gone after I reload the page. But even if that worked, what code would I use to get them? Or what other way is there to do this?

Image Attachments
prntscn.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
R.Verheij
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-04-08
Amsterdam, Netherlands
 

bump .. oh oh noone with the same problem or any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
brankonagy
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-05-20
Odranci, Slovenia
 

Yes, I would be also very interested how to implement second gallery set for the same product ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
brankonagy
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-05-20
Odranci, Slovenia
 

i’ve done it dummy way to play with yesterday, as short as possible:

- rewrite to custom page on custom model
- modified javascript on phtml
- modified list/view/cart ... etc (if needed)

Image Attachments
picture3.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
R.Verheij
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-04-08
Amsterdam, Netherlands
 

Tnx! smile

In the blog it’s stated that Magento 1.1 - which will come out within a month - will have this feature:
5. Customer Defined Product Options: This functionality will allow customers to define text, images, etc. for products.
So I think the problem of two image sets will be solved then and I think I’ll just wait for that then…

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1652
Joined:  2007-12-14
Illinois, USA
 

How exactly did you do this?  What code did you change/add?

brankonagy - 03 June 2008 01:08 AM

i’ve done it dummy way to play with yesterday, as short as possible:

- rewrite to custom page on custom model
- modified javascript on phtml
- modified list/view/cart ... etc (if needed)

 Signature 

UX Manager, Sweet Tooth
Creativity is falling in love with the world. – Dewitt Jones
I’m a very random person, catch me if you can: http://www.twitter.com/sherrierohde

 
Magento Community Magento Community
Magento Community
Magento Community
 
R.Verheij
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-04-08
Amsterdam, Netherlands
 

Well, 1.1 does support custom options per product. But that does not include images. And you can still add gallery attributes next to the default, but they still don’t work ( you can upload, but no images are saved once you refresh ). So today I have to work around Magento for this functionality and I will just upload some images through ftp for each product and then load them in on the page. A shame really… if anyone has a better option, please tell me! smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
norbolig
Guru
 
Total Posts:  328
Joined:  2008-03-15
 

"I use a flash movie instead of a large image that uses all images gained from this code:

foreach ($this->getGalleryImages() as $key => $_image):”

@R.V.: Unfortunately I cannot help you with the question about how to use two different sets of images per product.

If you would share how you use the flash movie instead of large images, I would be most thankful though. Where do you put this code (in view.phtml), and what else is needed for it to work??

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top