forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Justinr 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
-
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??
-
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.
-
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?
-
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.
-
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.
-
I've been looking for a way into the theme.php file but no joy so far.
Any ideas?
Justin.