News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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