Hi pplz :)
can someone help me, i have an issue.. i'm an admin at a gallery, ver 1.4.2.
i need to replace a lot of uploaded photos without loosing previous comments posted by users.
*example*
picture 'mountain.jpg'
comments :
1: excellent photo
2: great quality..
3: ;d
i need to replace mountain.jpg with vulcano.jpg without loosing these comments ;D
sorry for such a dumb example, but i'm very tired, havent got time to think of any better..
thanks in advance
It seems strange that you would use the same comments that were submitted for a different photo on the new photo. In your example, if someone said "excellent photo", don't you think that shouldn't apply to a new photo you replace (that the user hasn't seen yet)?
In any case, the plugin "file_replacer" (http://forum.coppermine-gallery.net/index.php?topic=21193.0) (on the plugin contributions board) is useful for one-at-a-time replacement. You'd have to modify that plugin with an effective user interface to handle lots of photos.
Or you could create the raw SQL commands to replace the files manually in the _pictures table. It depends upon what your skills are and how often you will be doing this.
Side note: it's mandatory to upgrade from cpg1.4.2 to the most recent version (currently cpg1.4.6)!
Quote from: Paver on June 02, 2006, 03:13:22 AM
It seems strange that you would use the same comments that were submitted for a different photo on the new photo. In your example, if someone said "excellent photo", don't you think that shouldn't apply to a new photo you replace (that the user hasn't seen yet)?
In any case, the plugin "file_replacer" (http://forum.coppermine-gallery.net/index.php?topic=21193.0) (on the plugin contributions board) is useful for one-at-a-time replacement. You'd have to modify that plugin with an effective user interface to handle lots of photos.
Or you could create the raw SQL commands to replace the files manually in the _pictures table. It depends upon what your skills are and how often you will be doing this.
> its a users gallery, and users often want to change their photos...
this plugin isnt working, i install it, and option 'replace file' shows up.. when i select which photo to upload it starts to upload, but nothing happens... : (
This thread is not the proper place to discuss your issues with the plugin.
Ok, sorry, wont happen again ;)