Adding copyright image fails

adrianaitken

Joined: 2007-05-04
Posts: 13
Posted: Tue, 2007-08-07 19:40

Using IIS 6, PHP 5.
When I upload images that is fine (creating thumbnails etc).
When I add a copyright image (tried both GIF and PNG so I can have a transparent background) and then upload even one image, everything hangs and eventually I get a CGI timeout. If I remove the copyright image, I can upload images fine.
Is this a 'known feature' ? Ideally I would like an option to write a copyright message on the image after I've uploaded it rather than pasting an image over it. Is this even remotely feasible ?

Many thanks
Adrian

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2007-08-13 19:34

are you using the watermark module? which pages/links are you using to add the copyright image?

http://codex.gallery2.org/Gallery2:Modules:watermark

FAQ: What information is required when I ask for help in the forums?

 
adrianaitken

Joined: 2007-05-04
Posts: 13
Posted: Mon, 2007-08-13 20:08

Yes, I'm using the watermark module (is there another ?)
I login as 'admin', click on 'site admin' , select 'watermark' from the left hand side. Allow users to uplaod their own watermark is NOT ticked, use only default is ticked. Load an image (tried PNG and GIF) and click on 'Add'. Allow default for placement and tick Full size (the other sizes ticked by default). Click 'Save'.
Then I try to upload files as normal and it stops uploading at 50% on the IE progress bar (at the bottom of the screen).

Is there some other way I should be doing it ?

Regards
Adrian

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2007-08-14 00:17

to help debug, try this:
site admin / maintenance: run the build all thumbnails/resizes task. do you get any errors reported? if so, look through the debug output for error messages and post here. if not, go to any photo and do Edit Photo / Watermark tab. add a watermark to resize or thumbnail of the photo. then go run the build thumbnails/resizes task again.

 
adrianaitken

Joined: 2007-05-04
Posts: 13
Posted: Tue, 2007-08-14 22:52

rebuilt thumbnails - no errors
went to edit photo/watermark and a smallish watermark shows on the image - tick all the size options and click Apply and the watermark is superimposed on top of the small watermark. Click on the 'guest view' and it shows just one watermark.
Tried to upload an image though and it still hangs. Therefore to get a watermark I'm going to have to edit every photo - arghhh !!!

One suggestion though, can the watermark be scaled when being applied to smaller than fullsize images ? When I looked at the album image the watermark is very intrusive but when looking at the full size image it is small and unintrusive as I have designed it.

Regards
Adrian

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2007-08-15 02:00

http://gallery.menalto.com/sfvote/all
search for "watermark" and you'll likely find related things.. scaling watermarks, or different watermarks for different sizes.

weird that it works after upload. go to the upload page and fill out the form to upload one image. just before submit edit your config.php file and put your gallery into 'logged' debug mode. then submit the form, wait a while, then turn off debug mode in config.php and attach the log file here.