Project:Ubercart Option Images
Version:5.x-1.0-beta
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

I would like to have an individual image for each option. What's the best way to go about this?

Comments

#1

node/xxx/edit/options
there are image fields to do this.

#2

Status:active» closed (fixed)

#3

Title:Multiple Images - Separate Images per Option» Display Multiple Option Images
Status:closed (fixed)» active

I should have said "attribute". I would like to have an individual image for each attribute. I have three attributes each with 6 options; I want to have 3 different attribute images displaying whichever of the 6 options is selected for that attribute. Does this make sense?

#4

I think I understand what you are saying. It does not currently allow for 'default' attribute images. In most cases the images will be on a per-product basis so that was not an area I choose to cover with the module.

#5

I don't think we're understanding eachother yet... I have Size, Color, and Extras - these three attributes don't need default images, they just need their own place to display their selected option images. So changing the option of Size would update a "size" image, Color would update "color" and Extras would update "extras". So Size would not overwrite the Color image, for example (as is the case now). Know what I mean?

#6

Title:Display Multiple Option Images» Option Images per Attribute

(Attached image should illustrate what I'm after)

AttachmentSize
uc_option_images_attributes.png 16.46 KB

#7

Right I see, that was not the intension of this module unfortunately so you may have to expand upon it yourself, although that change would not very terribly hard

#8

Status:active» postponed

#9

Do you have any hits for making this kind of stuff?

#10

Learn to program lol

#11

If he knew how to program he would a) most likely not be using Druapl and b) not be asking in here.

#12

c) pay people

#13

you mad?

#14

nope lol im just an asshole when it comes to open source. I only help other developers, not just random people who dont want to pay for things. I have over 60 open source projects on github so I cant really support old Drupal stuff for randoms

#15

Better late than never I guess, but here is a 5.x version of the module that displays multiple images side by side.

Edit: You can see it in action here.

AttachmentSize
uc_option_image.zip 34.71 KB

#16

+1 for Feature Request,
I am going to try and convert the 5.x version to work with 6.x

----------------
Porto88 - Andrew
http://remotefavs.com

#17

That would be great porto88. Just a heads up, there are some issues with the install file in the version I posted. We never updated it as we just added the tables manually...

#18

can you please expand on this? I want to get this to work but am not sure how.

thanks

#19

You need to add two tables to the DB:

attribute_X_option_image_default
product_X_attribute_option_image_default

Also, you need to edit two tables:

ALTER TABLE uc_attribute_options ADD COLUMN fid int(10) AFTER ordering;
ALTER TABLE uc_class_attribute_options ADD COLUMN fid int(10) AFTER ordering;

This is a pretty thorough re-write of the original D5 version so I wouldn't mess with this on a live site.

You're not going to be able to keep any attribute images you currently have...they will all need re-uploaded.

Your best bet is probably the following:

1. Install the original D5 version.
2. Delete the module folder and upload this one.
3. Add the above mentioned tables to the DB.
4. Cross your fingers...

If you get that far and still no luck, please post again. My developer is out of touch for a couple days so I can't offer much help beyond this right now.

#20

Status:postponed» closed (won't fix)

The 5.x version is no longer being supported for this module. We are cleaning up the 6.x version and preparing for the 7.x version.