forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Jobin on March 06, 2008, 11:19:40 pm
-
Hi guys!! I have a question... I uloaded all my images to the gallery and I tried to watermark them (I thought to mark them after the upload) and so I used the admin control panel to update all the albums but:
1. When I update 'all albums' after a little it says that it can't update all the albums(anyhow there is an error)
2. If it updates the albums always the watermark is or in the original pic only or in the re-sized pic only!
Can you help me?!
-
properly chmod all files (666 or 644) and folders (777 or 755)
-
:o thansk Stramm but one by one?! I mena the files?!?! The folders are already 777 Thanks again... :P
-
errors... standard error is when a media file other then an image is in the queue. For a non image file it's not possible to create a watermark.
If you batch uploaded images then php or the image library may not have permission to overwrite files. When you watermark exactly this is necessary. Depending on your server setup you'll have to chmod files to 644 or 666, folders to 755 or 777. 777 not necessarily is the setting that works for you.
-
Oh Isee...so I'll try with 755 but I didn't understand if it possible to CHMOD all the files to 644 or 666 or I have to do this with a photo by time... :P thanks...
About the media files yeah no no ... I would like to watermark only images :)
-
if you're on a *nix machin and have ssh access... then that may help you. Browse to your albums folder and enter that line. It'll chmod all files in the albums folder and its subfolder to the set permission
find . -type f -exec chmod 644 {} \;
the next would chmod only jpg files
find . -type f -name '*.jpg' -exec chmod 644 {} \;
-
mmh *nix machine?? uhm what is it?? sorry for my ignorance :P
-
Unix / Linux driven server.
-
Aw...Perfect!!Thanks!! ;D