Sequential numbering of images Sequential numbering of images
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Sequential numbering of images

Started by Justinr, May 08, 2008, 06:38:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Justinr

I need to apply a file number to each of my images, preferably in the title or description fields. Can this be done or will I have to slog through all the files and number each one individually? A wearisome task when you have dial up only (no chance of broadband round these parts alas).

Justin.

www.justinseye.com

Stramm

Do you need the number physically on the hardrive (liek filename#number#.jpg) or is it enough to have an assigned number on database level that you can display next to the image title or caption??

Justinr

Here's the problem-

http://justinseye.com/coppermine/thumbnails.php?album=3

Basically I am hoping to sell images off this gallery and was intending to use the number that appears above the enlarged image as a reference, eg 24/155. However, when the customer does a search a different number appears, eg 2/4 and unless I know the precise keywording used then I cannot match it to a specific image. I would like to add a reference number to the description preferably as I don't use the title field that often.

Justin.


Stramm

Each picture's assigned a unique number. You can find it in the pic info area, eg.
URL:   http://justinseye.com/coppermine/displayimage.php?pos=-212

after the - (minus) you'll find this number

If you want to sell items, why not use on of the shopping cart mods/ plugins?

Nibbler

First you need to update your gallery.

See if http://forum.coppermine-gallery.net/index.php/topic,27348.0.html helps. You could use the unique pid instead of the filename instead if you prefer - it's a simple change.

Justinr

Many thanks for the help here gents, it is greatly appreciated. Replacing the position number with the file number would appear the way forward but how do I get to the 'theme.php' file?

The shopping cart option is something that I am thinking of but doesn't it involve all sorts of messing with the banks to ensure a secure connection and setting up credit card facilities?

Justin.


Justinr

I've been looking for a way into the theme.php file but no joy so far.

Any ideas?

Justin.