News:

Support the VirtueMart project and become a member

Main Menu

my-image-name.jpg_product

Started by snoopy, November 29, 2012, 14:21:53 PM

Previous topic - Next topic

snoopy

I have been fighting for about 2 hours to upload a product image with the name that I want - like my-image-name.jpg. Instead VM insists on my-image-name.jpg_product or my-image-name_123.jpg. No matter what I do - deleting all these image files with unwanted names in the media manager and then trying it again - upload, replace. This crazy program insists on naming it my-image-name.jpg_product. It is so annoying and crazy and frustrating.

Dear developers, please renovate this product image uploading program in one of the next update versions to something that allows the user to name an image the way he wants, to store it where the user wants and to display it in the size specified by the user in the configuration parameters. I am sure this would not only make your code much shorter but also much better. Sometimes doing less is doing more.

bytelord

Yes, because you are using the same name of the image again ... probably cloning products ... did you check the name of Unique Filename ?? Did you change it also after cloning a product? No!

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

neo314

Quote from: bytelord on November 29, 2012, 20:06:43 PM
Yes, because you are using the same name of the image again ... probably cloning products ... did you check the name of Unique Filename ?? Did you change it also after cloning a product? No!

Regards

Thanks for the reference bytelord. I replied in my original thread since I asked a question based on understanding it was an alias already. I must say your response comes off as rather rude followed by, "Regards :o)" [Smiley added].

Explaining it was an alias, does not actually refer to the file's name, and has to be unique would have probably sufficed.

bytelord

Hello neo314

Sorry if my post was rude, wasn't my intention, was a rough day.

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

snoopy

Hi Bytelord

I am not cloning products and I am using unique file names.

I have turned off dynamic thumbnails because it makes fuzzy small images that are not good enough for my purpose, a database of art objects. Thus I have to upload image and thumbnail by switching between folders "resized" and "products" and It is easy to make a mistake when you upload hundreds of images for hundreds of products. And once you make a mistake it all becomes messy and uncontrollable. 

I have worked with Joomla 1.5/VM 1.x and I am working with Phoca Gallery, I have programmed a dynamic ASP site in 1997 and I have good knowledge of HTML - in all maybe better requirements than an average user of Joomla/VM. But I think this image handling is too complicated and fragile. What I want to convince the developers of VM 2 is to overhaul this product image handling and make it as simple as Joomla Media Manager or Phoca Gallery.

Give the user back full control over naming, storage place and display size. To give you another two examples: Example 1: I specified 200 by 200 px in the control settings and nevertheless I have to apply two code hacks after each VM update. Example no.2: Try to store your product category images in a structure with subcategories. Works only with tweaks and tricks. The program stores the images under virtuemart/category and not under virtuemart/category/subcategory - no matter what you specify as "used url".

The developers may have had the best intentions and programmed a lot of automatism into this image handling. But it is not practicable. Therefore my advice: reduce this image handling complexity in VM 2.0 back to something simple that gives the user full control and that does exactly what the user specifies.

best by Snoopy

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!