forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Gilly on May 08, 2006, 10:05:07 am

Title: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 08, 2006, 10:05:07 am
How do you get the thumbnails of the images to go in order? It says you have to manualy edit it. I tried all of the different descening and ascending. I tried putting in auto. also when i upload the pics and put them into the albums there backwards. I dont want to have to manualy put them in order it takes to much time. CAN SOMEONE PLEASE HELP ME?
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 08, 2006, 05:59:16 pm
clear your cookies.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 09, 2006, 08:29:46 pm
hmmm i clearked my cookies and they still dont go in order.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 09, 2006, 11:25:40 pm
please post a link, non-admin test user account and a screenshot of the corresponding config section
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 10, 2006, 03:36:32 pm
here my site is abt to go down bescaue of bandwith tho it will be back. the only way i can have the pics go i order is to manualy put them in order which is a freaking pain.

http://www.ladylondon.chez-milagro.net/gallery/thumbnails.php?album=41
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 11, 2006, 12:02:57 pm
can anyone help with this? PLEASE
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 11, 2006, 06:52:33 pm
do as I suggested. You only posted a link, while I requested two more things.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 12, 2006, 10:13:18 pm
sorry it took so long i was having issues with my site here's the screen cap

http://img34.imagevenue.com/img.php?loc=loc42&image=64714_Untitled_3.jpg
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 12, 2006, 10:25:03 pm
two things out of three I requested isn't good enough for me. I'm out of this thread, as I don't like to see my time wasted.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 12, 2006, 11:07:26 pm
i'm sorry but i dont know what a non-admin test user account means. you dont have to be rude.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 12, 2006, 11:20:06 pm
ok i see what you mean now i registered as a new use non-admin and here is a screen cap

http://img105.imageshack.us/img105/6022/40qf.jpg
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Paver on May 12, 2006, 11:23:37 pm
GauGau actually meant that you need to set up a new user in Coppermine who is not an administrator and post that username and password here as a "test user" for the supporters to use.  (Hence a "non-admin test user account".)  That's requested for nearly every support question because it can be very useful.

Looking at your site as a guest, the sorting works fine.  Keep in mind that the album you linked has 3 photos, all 3 of which have no titles, so the title sorting doesn't do anything.  The date and filename sorting works fine.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 12, 2006, 11:50:16 pm
hmm i have no idea how to do that. and i had a whole album full of pics and they never went in order. the sorting was all messed up. i just dont get it.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Paver on May 13, 2006, 12:05:39 am
How to do what?

I looked at some other albums and they seem to sort fine as well.  It looks like you don't have titles for any of your photos, so make sure you are not mistaking a non-working title sort with the fact that there are no titles to sort.

Maybe I'm confused about what your original question was.  I'm talking about the title, date, filename, and position plus and minus buttons in the upper right corner of the thumbnail view of an album.  Clicking on those plusses and minuses lets me sort the album how I like.  If you don't want users to sort your albums for themselves, you need to remove those buttons (I think that's done in your theme but I'm not sure).

In any case, are you instead talking about the default sort order?  That's set in the config panel to Title, Name, Date, or Position.  How do you want to sort your files?  You need to pick something to sort with.  If you have a custom sort order you want applied and don't want to do it in Coppermine, the easiest way is to name the files "001_Bird.jpg", "002_Cat.jpg", etc. then set Coppermine to sort by Name ascending.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 13, 2006, 12:10:05 am
the other albums go in order bescasue i had to manualy put the in order it seems to be the only way. what i want is for the images to go in order with the file names.

if you notice the images go

BLEAK_HOUSE_D1-3.jpg
BLEAK_HOUSE_D1-0.jpg
BLEAK_HOUSE_D1-1.jpg

it should go 1-0 1-1 then 1-3. and even when i upload the pics and then put them into the albums they are backwards when adding them in.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Paver on May 13, 2006, 12:14:41 am
Go to your CONFIG panel.  Scroll down to and click on Thumbnail View.  Go to "Default Sort Order for Files".  My guess is that it is currently set to "Title ascending".  You need to set it to "Name ascending".

It sorts correctly by filename as you say when I do it manually using the Name + link on your site.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 13, 2006, 12:31:00 am
ok wow that works only thing is my other images don't go in order. like in here

http://www.ladylondon.chez-milagro.net/gallery/thumbnails.php?album=29

it goes baftas, baftas10, baftas11, baftas 12 etc.

Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Paver on May 13, 2006, 12:39:51 am
That's "normal" filename sorting.  It's alphanumeric not just numeric, so the order is:

You need to use as many digits as you might have files and put zeroes in appropriately - i.e. 001, 002, 003, ... , 010, ...

An awesome file renaming tool for Windows is THE Rename (http://www.herve-thouzard.com/).
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 13, 2006, 12:44:29 am
yea thats true. but i see other coppermine gallerys and they go like 001 002 003 etc. the renaming tool i would have to reupload the images after they are renamed?
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Paver on May 13, 2006, 01:23:47 am
You can rename them using FTP, but then you need to "update" the files in Coppermine so it knows to look at the new filenames.  You could use the plugin "File Replacer" to do so.  When you rename the files, you'll have broken images, but then you use the File Replacer plugin to replace each photo with the new one.  You'd have to do this one at a time, as that is the only way the plugin works right now.

So yes, it might be easier to delete the photos, rename them locally, then upload these new files and add them into the albums again.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 13, 2006, 10:16:42 am
oh i donr know how to use ftp if i rename them and upload them again will they still go 001 002 then 10?
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 13, 2006, 11:18:26 am
 ::)
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Paver on May 13, 2006, 01:38:58 pm
oh i donr know how to use ftp if i rename them and upload them again will they still go 001 002 then 10?

As long as that 10 is "010" and you leave the default sort order in your config to "Name ascending", then yes, they will sort as desired.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 13, 2006, 07:12:11 pm
oh wow it seems to work when i add them as 001 002 003 and it doesnt go to 010 the only thing is when i add a nother album it goes /029%7E0.jpg bescasue there already was a 029 from the previous album.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 14, 2006, 02:37:17 am
this is going to be a long thread...
You (as coppermine admin) should use FTP-upload plus batch-add
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Gilly on May 14, 2006, 10:39:59 am
what is ftp batch upload i dont even know what this it.
Title: Re: how to put the thumbs in order? PLEASE HELP
Post by: Joachim Müller on May 14, 2006, 12:27:42 pm
RTFM (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#batch_add_pics)