#64 Image import lowercase bug

v1.0_(example)
open
nobody
None
9
2014-03-21
2014-03-12
No

Hi,
I'm having a small bug when importing images, they are usually imported and appear in the Target store without problems, but the names are all in lower case.
I need the names are exactly as they were sent in the import file.
For example:
If I have to import an image with the name: "http://mydomain.com/media/catalog/product/9/1/ImAgE1.jpg" I need her to be named "http://mydomain.com/media/catalog/product/9/1/ImAgE1.jpg" not named "http://mydomain.com/media/catalog/product/9/1/Image1.jpg"

Discussion

  • hmm, interesting case. Current image name processing (getTargetName() method of ImageAttributeItemProcessor class ), performs a lowercase and a "filesystem compatibility" conversion in order to ensure that the imported image file (either renamed or not) won't cause any loading problem.

    Maybe this conversion could be made optional with a specific plugin parameter like "assume valid image names".

     
  • Thank you for your explanation.

    Is there any way to make the names stay as they are? or I can't do anything about that?