Project:Ubercart Option Images
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

unless I'm missing where to do this, once images are uploaded for a particular product/attribute option, there's no way to delete it. (you can replace, but not delete it altogether). I had to remove the images from the DB manually.

Or is there a way and I just missed it?

Thanks :)
Scott

Comments

#1

Category:bug report» feature request

Nope you are right they can only currently be replaced, this would be relatively quick for a new maintainer to add though.

#2

Version:5.x-1.0-3» 6.x-1.4
Status:active» needs review

Patch for 6.x to remove option images via checkbox :) Not sure if the patch applies for 5.x..

AttachmentSize
uc_option_image-remove-image.patch 2.05 KB

#3

Also, it seems that when you replace an image is actually leaves the old one on the server still with no way to delete it either. Perhaps this issue could be addressed in the patch as well? Thanks!

#4

Version:6.x-1.4» 6.x-1.x-dev

This important functionality is still lacking in the latest dev. Here a patch against 6.x-1.x-dev.

As JamieR noted, the 'remove' functionality only removes the database entry, not the actual file on the server. In order to delete the file, some code would be needed to first check the would-be-deleted image file is not used by another option, wouldn't it?

AttachmentSize
uc_option_image.4.patch 2.39 KB

#5

This patch is not working for me. Can't delete under default option image in store setting/attributes/options/edit nor under product/edit/options

nobody click here