Image ordering is off

bfrank

New member
When I import my images, the order gets all messed up and I end up having to go back and reorder all of them in the published XML after publishing. Have you guys ever experienced this, and if so, what did you do to fix it?

My images all follow this naming structure: Date_Brand_360_Model_SKU_00.jpg
 

WebSupport

Active member
Hi

We tried with a test set of images today from Date_Brand_360_Model_SKU_00 to Date_Brand_360_Model_SKU_15 and the ordering was all fine.

Would you mind sharing with us your image set so we could play with it? You can use our email to share the images: support at werbrotate360 dot com.
 

WebSupport

Active member
Hi!

Thanks for sending us the test 360 degree images. Here's what is going on:

When we sort the images, a filename like this 20150527_SAL_360_ProductName_BK6253_00.jpg is parsed such that only numbers remain so it becomes 201505273601625300. Then we compare the resulting numbers.. and this number appears too long for our comparison routine so sorting breaks.

We will allow larger numbers in our next release but for the time being, if you remove date from the filenames, it will work. Or we can send you a one-off build with a fix. Please confirm if so.
 
Top