Vinai / nicer-image-names

Magento extension to build catalog image file names from product attributes so they have neat descriptive names.
77 stars 31 forks source link

Tries to generate paths longer than the system can handle #14

Closed mikemanger closed 10 years ago

mikemanger commented 10 years ago

The generated image paths can be longer than the file system can handle which causes the image not not get rendered. Most systems support 255 bytes for the filename and 4096 for the path. NTFS (Windows) only supports 255 for the whole file path!

This is not a huge problem as I can tell the client to not put so much text in the meta_title (or just use a different attribute instead).

mikemanger commented 10 years ago

If this is worth fixing, the two solutions I can think of:

Vinai commented 10 years ago

Thanks for the useful info! Future releases will include your suggestions to check the path length.