coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: AlexBarTender on December 06, 2008, 06:01:54 PM

Title: How can I copy the name of image for new images in "Custom Field Descriptions"
Post by: AlexBarTender on December 06, 2008, 06:01:54 PM
Best regards, for the community

I will explain better. I wanna copy the name of the new image that I uploaded to "Custom Field Descriptions".

I mean, I uploaded new images (FTP) to "albums" then going to "Add images (batch)" and I wanna that name of only these new images, copy them to "Custom Field Descriptions".

Very thank you for your answers.
Title: Re: How can I copy the name of image for new images in "Custom Field Descriptions"
Post by: AlexBarTender on December 06, 2008, 06:10:36 PM
More Info:

I can't Run the Query UPDATE cpg_pictures SET user1 = filename   again. Because a very significant of images contain information that I don't need.

Example: All my filename are "- 0812image - Price: 5$". So, I did UPDATE cpg_pictures SET user1 = filename and erase of the field "- 0812image -" of "- 0812image - Price: 5$"

So for that reason I can't Run this Query again, because I will do all this process again