Uploading image with same filename Uploading image with same filename
 

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

Uploading image with same filename

Started by lightwaveman, December 12, 2006, 04:13:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lightwaveman

I would like the ability to upload and replace an image file that already exists in an album with one with a larger filesize keeping the original filename (ie img_000001.jpg). This would also keep the comments the same.


Joachim Müller

Upload the file using your FTP app (overwriting the original image), then make sure that coppermine "knows" the new dimensions either by manually editing the database (using phpMyAdmin or similar) or by running the admin tools (option "Reload file dimensions and size information").