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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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