Dynamic Image Borders based on table value Dynamic Image Borders based on table value
 

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

Dynamic Image Borders based on table value

Started by pvierheilig, September 09, 2008, 06:48:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pvierheilig

I am looking for any advice as to where one might begin to have the borders of images change in color based upon the value of a database field entry for each record/picture from the _pictures table  ('user4' field/column, for example).  I am able to change the border widths, colors etc., for all images in both the thumbnail/album view and in the intermediate and full-size image view using a database value.  Yet I can not accomplish the 'loop' I seem to need to have each image applied its own color...  I am using CPG 1.4.18 with the latest PHP...and everything else is working great.

Thanks,

Patrick