Set image title to albumname Set image title to albumname
 

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

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