This plugin will allow you and your users to replace files in your gallery with new ones. Installation is via the plugin manager, and will display a new button under the file in the intermediate/displayimage.php view.
This plugin is a port of the plugin "File Replacer for cpg1.5.x (http://forum.coppermine-gallery.net/index.php/topic,60499.0.html)".
Version 1.10 fixes possible issues under certain conditions (there where at least an issue if watermark enable and another one with existing backup files).
I made the translation for spanish users...
Here is a translation for Estonian users.
Thanks for the work, it works perfect and is very useful. Until now it was a bit difficult to replace an image alone. It was mandatory in my case to change the name because if it did not work well
Hi I just installed the plugin in Coppermine 1.6.07
If I want to replace a file now I always get an error:
QuoteError
The selected album or file does not exist!
Can someone help me there?
greetings spun
I have found the Problem :D
Not working anymore in PHP 8
Hopefully someon is able to fix this
Fatal error: Uncaught TypeError: imagesx(): Argument #1 ($image) must be of type GdImage, bool given in /include/imageobject_gd.class.php:465 Stack trace: #0 /include/imageobject_gd.class.php(465): imagesx(false) #1 /include/picmgmt.inc.php(229): imageObject->resize_added_image('albums/userpics...', '250', 'gd2', 'any', 1, 1) #2 /plugins/file_replacer/codebase.php(105): resize_image('albums/userpics...', 'albums/userpics...', '250', 'gd2', 'any', 'false', 1) #3 /include/plugin_api.inc.php(310): file_replacer_page_start(Array) #4 /include/init.inc.php(436): CPGPluginAPI::action('page_start', Array) #5 displayimage.php(22): require('/customers/9/f/...') #6 {main} thrown in /include/imageobject_gd.class.php on line 465
Never mind my mistake...