how to replace photos ? how to replace photos ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

how to replace photos ?

Started by fugitiv3, June 02, 2006, 02:51:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fugitiv3

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

Paver

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" (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.

Joachim Müller

Side note: it's mandatory to upgrade from cpg1.4.2 to the most recent version (currently cpg1.4.6)!

fugitiv3

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" (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... : (


Joachim Müller

This thread is not the proper place to discuss your issues with the plugin.

fugitiv3

Ok, sorry, wont happen again  ;)