coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: SickFinga on October 28, 2003, 03:23:54 AM

Title: Changing Picture
Post by: SickFinga on October 28, 2003, 03:23:54 AM
I searched the board checked FAQ couldnt find an answer n my question.

Well after reading FAQ, I understood why I get permittion denied whn i try to delete the pic. So my question is there a way winith a script to change the pic without reuploading it again with picture info?
Title: Changing Picture
Post by: hyperion on October 28, 2003, 03:55:25 AM
SickFinga

What are you trying to accomplish?

Curiously,

Hyperion
Title: Changing Picture
Post by: SickFinga on October 28, 2003, 04:12:07 AM
heh, sorry.

Well I uploaded a photo, but I forgot to edit it before uploding.
So I edited the photo and now trying to change old photo with edited photo without re-entering all the fields. ( I got a lot of custom fields  :) )
Title: Changing Picture
Post by: hyperion on October 28, 2003, 04:16:28 AM
Well, King of the Custom Fields, you have some options to choose from. If the dimensions are the same, just replace the image file using an FTP client. The name will be the same, and CPG will never know the difference.  If you have changed the dimensions, or if you want to change the file path, use PHPMyAdmin to edit the CPG pictures MySQL  table.
Title: Changing Picture
Post by: SickFinga on October 28, 2003, 06:31:20 AM
I can not change the file
I get permittion denied.
Title: Changing Picture
Post by: hyperion on October 28, 2003, 07:49:29 AM
What method are you using to try to change it?
Title: Changing Picture
Post by: Joachim Müller on October 28, 2003, 08:43:57 AM
take a look into http://prdownloads.sourceforge.net/coppermine/Util.zip?download - maybe that's what you need.

GauGau