Display option images next to the options
crooke - November 23, 2008 - 14:05
| Project: | Ubercart Option Images |
| Version: | 5.x-1.0-3 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
this is a great module, thanks for sharing it!
What I would like to achieve is that instead of displaying the images somewhere else on the page, I'd like them to be displayed right next to the options, in the same <div> . I've spent a lot of time with that but no luck at all. This is probably not a big change but I'm unable to handle it. Would it be possible to get some advice on this please?
Thanks in advance,
Rob

#1
What fails when you try to do this? does the default still display and they simply do not switch? if thats the case you may want to take a look at the Javascript, since it(as well as most javascript) relies on the structure of the markup altering it vastly may break its functionality
#2
Thanks for getting back,
basically I use the default imagefield to display the main image of the product. I do not want that one to switch at all, I'm happy with it. What I need to achieve is I created an imagefield preset that creates thumbnails (like 150x100px) and I assigned it to the option images and I would like the switching images to be placed right next to the attribute options, in the same
<div>as the product attribute and its options. That would be my main objective, I can't believe I'm unable to do this, it's so annoying as this is the last bit I need to do on a site before it goes to production :)Thanks for your help!
Rob
#3
Hmm well it is really hard to say unfortunately without seeing the markup and the setup of the site but you may need to consult someone who can do a theme override for a few templates.
#4
Thanks for your reply,
eventually I use a temporary css solution for now, hopefully it will be ok til I figure out how to solve this.
Thanks
Rob