AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: ygalbrami on June 01, 2013, 06:19:45 PM

Title: order images automatic
Post by: ygalbrami on June 01, 2013, 06:19:45 PM
i have images names MODEL-1.JPG, MODEL-2.JPG ... UP TO MODEL-3.JPG

is there any way that when i will upload the images they will be order by the name on the file 1-12?

now if i upload 9 images the order is set ok but if i upload more than 10 images the order is not ok.

Title: Re: order images automatic
Post by: abantecart on June 03, 2013, 08:03:23 AM
Looks like a small bug from quick look. We will check for solution and fix.
Title: Re: order images automatic
Post by: andrew.mikhailyk on June 03, 2013, 08:42:11 AM
Hello.
I need some mero details.
From your post it is not clear what you are trying to upload.
Please tell me "rt" part of the URL of the page where you start uploading so I can localize problem.
Some screenshots of the process would be nice too.
Thanks.
Title: Re: order images automatic
Post by: ygalbrami on June 04, 2013, 04:33:04 PM
I try to upload images. JPG images

please see my images all step by step.

Title: Re: order images automatic
Post by: lloydcodrington on July 25, 2013, 11:25:38 PM
I'm also having the same problem with images uploaded for products. I have named them 1,2,3 and a,b,c yet they still take on an order all unto itself!! Please can you assist?

Lloyd
Title: Re: order images automatic
Post by: abolabo on September 13, 2013, 11:35:06 AM
bug fix already added to 1.1.7.
details here https://github.com/abantecart/abantecart-src/commit/313b8cd15c6edb0a3e1668c0646573e8a74f01f3
Title: Re: order images automatic
Post by: ygalbrami on September 14, 2013, 01:04:41 PM
thank you so so much for this i have waiting for a solution long time.
Title: Re: order images automatic
Post by: ygalbrami on September 19, 2013, 04:52:56 AM
can you please tell me when the version 1.1.7 will be ready?
i can't wait to update my version.

thanks.
Title: Re: order images automatic
Post by: abolabo on September 19, 2013, 05:19:43 AM
very soon. 1 or 2 days.
Title: Re: order images automatic
Post by: ygalbrami on September 19, 2013, 05:27:55 AM
i just tested the code, this don't work the order of the images is not correct.
if i upload this kind of images name:
ZQR-1 | ZQR-2 | ZQR-3 | ZQR-4 | ZQR-5 | ZQR-6 | ZQR-7 | ZQR-8 | ZQR-9 | ZQR-10 | ZQR-11

the order i get is: 1=ZQR-1 | 2=ZQR-7 | 3=ZQR-5 | 4=ZQR-4 | 5=ZQR-9 | 6=ZQR-8 | 7=ZQR-6 | 8=ZQR-3 | 9=ZQR-10 | 10=ZQR-2 | 11=ZQR-11 |

this is real test i make.
why this is happening?
can you please help me to fix it?
Title: Re: order images automatic
Post by: abolabo on September 19, 2013, 06:10:55 AM
after fix apply (see above), your images sort order takes from request. Can you check this order into request in firebug->net?
how did you selected files? with CTRL pressed? by one? or you did it by batch select?
Title: Re: order images automatic
Post by: ygalbrami on September 21, 2013, 06:06:17 AM
i will check  in firebug and let you know.
i have select all the images i want and i have drag them directly to the browser and it automaticly upload ll the images.
Title: Re: order images automatic
Post by: ygalbrami on September 21, 2013, 07:02:23 AM
I have install firebug on firefox, but i don't know how to use this.
i just know that the order of the images don't order it itself, it need to do it manualy
so please help me do fix this, it's take some time to reorder images
Title: Re: order images automatic
Post by: ygalbrami on September 28, 2013, 06:59:43 AM
hello
please ton't forget me and please help me to fix this.

Title: Re: order images automatic
Post by: abolabo on September 28, 2013, 05:40:36 PM
we can't to change approach for uploading images... at least for now.
Abantecart gets images in order that defined by browser.
But now the order of downloaded images is set in the tab with all the resources of the object. Click tab with name of object (for ex. product name) and set order manually.
Title: Re: order images automatic
Post by: ygalbrami on September 28, 2013, 05:48:30 PM
That I am doing I am set the order manualy its just take long time.