VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: neo314 on May 13, 2013, 09:15:34 AM

Title: BUG? Replace thumb does not seem to work.
Post by: neo314 on May 13, 2013, 09:15:34 AM
I'm configuring a new store and started with 90x90 thumbnails. I decided to make them 120x120. I tried using the upload file => Replace thumb radio box and I get delete errors. It looks like there is a bug in using that option. I end up with an unresized copy of the thumbnail in the resized directory. It also does not appear to be cleaning up any of the the old thumbnails when it creates a new one, so the directory is full of 90x90 thumbnails.

I think it should be a bit more sophisticated. If the image can be attached to more than one product, perhaps it could check, when an image is deleted, whether the image is still in use and delete, or offer to delete it if it is not.

The thumbnail size is set programatically, so any time an image deleted all of it's thumbnails that are not the same size as the configured size should be deleted, or perhaps a process for refreshing the thumbnails that deletes them all and creates new thumbnails for every product image.

It would be nice to see the image alias addressed as well. Instead of product9.png_product and product9.png_product_product (I didn't look to see if it still does the latter), we should be able to get product9_product.png and product9_product1.png.

I know there is a lot of items on the roadmap, so it just be nice to know these items were on that map.

Thanks