Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: WATERMARKING images  (Read 6526 times)

0 Members and 1 Guest are viewing this topic.

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
[Solved]: WATERMARKING images
« 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?!
« Last Edit: March 13, 2008, 04:01:52 pm by Stramm »
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: WATERMARKING images
« Reply #1 on: March 10, 2008, 08:16:27 pm »

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

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: WATERMARKING images
« Reply #2 on: March 12, 2008, 10:58:43 am »

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

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: WATERMARKING images
« Reply #3 on: March 12, 2008, 11:10:25 am »

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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: WATERMARKING images
« Reply #4 on: March 12, 2008, 02:40:55 pm »

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

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: WATERMARKING images
« Reply #5 on: March 12, 2008, 03:52:07 pm »

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

Code: [Select]
find . -type f -exec chmod 644 {} \;the next would chmod only jpg files
Code: [Select]
find . -type f -name '*.jpg' -exec chmod 644 {} \;

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: WATERMARKING images
« Reply #6 on: March 12, 2008, 07:07:06 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: WATERMARKING images
« Reply #7 on: March 12, 2008, 07:35:01 pm »

Unix / Linux driven server.
Logged

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: WATERMARKING images
« Reply #8 on: March 13, 2008, 03:45:09 pm »

Aw...Perfect!!Thanks!!  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.