[Solved]: WATERMARKING images [Solved]: WATERMARKING images
 

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

[Solved]: WATERMARKING images

Started by Jobin, March 06, 2008, 11:19:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jobin

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?!

Stramm

properly chmod all files (666 or 644) and folders (777 or 755)

Jobin

:o thansk Stramm but one by one?! I mena the files?!?! The folders are already 777 Thanks again...   :P

Stramm

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.


Jobin

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 :)

Stramm

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 {} \;

Jobin

mmh *nix machine?? uhm what is it?? sorry for my ignorance :P

Joachim Müller

Unix / Linux driven server.

Jobin