Set image title to albumname Set image title to albumname
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Set image title to albumname

Started by grrrrr, June 06, 2009, 03:07:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grrrrr

Is there an easy way to set the "image title" attribute in my database to the "albumname"?
either by hand, everytime i add new picturesvia an sql-script, or automatically for now and ever?

grrrrr

by hand:

UPDATE coppermine_pictures cp
JOIN coppermine_albums ca ON ( cp.aid = ca.aid )

SET cp.title = ca.title