Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Sequential numbering of images  (Read 2655 times)

0 Members and 1 Guest are viewing this topic.

Justinr

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Sequential numbering of images
« on: May 08, 2008, 06:38:11 pm »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Sequential numbering of images
« Reply #1 on: May 08, 2008, 06:41:54 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Sequential numbering of images
« Reply #2 on: May 08, 2008, 06:49:41 pm »

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.

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Sequential numbering of images
« Reply #3 on: May 08, 2008, 06:55:42 pm »

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

  • Guest
Re: Sequential numbering of images
« Reply #4 on: May 08, 2008, 06:56:37 pm »

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.
Logged

Justinr

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Sequential numbering of images
« Reply #5 on: May 09, 2008, 10:38:31 am »

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.

Logged

Justinr

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Sequential numbering of images
« Reply #6 on: May 29, 2008, 06:30:31 pm »

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

Any ideas?

Justin.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.