Permanant watermark with undo possibility (GD2+IMagick) - Page 9 Permanant watermark with undo possibility (GD2+IMagick) - Page 9
 

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

Permanant watermark with undo possibility (GD2+IMagick)

Started by Stramm, March 26, 2005, 06:09:36 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Stramm

#160
batch uploads shouldn't be a problem... you made a mistake I assume

edit... just to show you... I batch added 10 pics here http://localhost/cpg132/thumbnails.php?album=44
all works excellent (watermark, thumb cropping, thumb sharpening, fullsized resize)

pgrzegorc

Stamm,

you wrote: - "possibility to assign different watermarks to certain users" ???

Could yu tell more about it? and how to find this in code?

I would like to add about 15 watermarks because I have 15 people whos have a access to my gallery and each of them must be own watermark, and I wonder how to make this? how to declare 15 watermarks? I would like to choose watermark under popup during uploading image, is it possiblle? I saw only one watermark in your example/course and what about more watermarks in the same gallery?


Regards,
Pawel

artistsinhawaii

#162
Quote from: Stramm on September 20, 2005, 08:41:18 AM
batch uploads shouldn't be a problem... you made a mistake I assume

edit... just to show you... I batch added 10 pics here http://localhost/cpg132/thumbnails.php?album=44
all works excellent (watermark, thumb cropping, thumb sharpening, fullsized resize)

Hi Stramm,

:-)  Your link doesn't look right. 
Maybe you meant:  http://stramm.mine.nu/thumbnails.php?album=44  ?


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Stramm


pgrzegorc

I use GD2, that my additional information for the previous question, which I don't still know how to make a few watermarks. I would like to have choosing under uploading images e.g. on the popup. I neeb about 15 watermarks for 15 person ( each person should have individual watermark)


Regards,
Pawel

Stramm

Ho pgrzegorc, have you alreday read that? Replace picmmnt.inc.php with the provided one. Upload a 'main' watermark file. This has two functions. a) it provides the path to the watermark files and b) it's the fallback
Now just upload png images with the same names like the users you want to have their own watermarks. Eg. Stramm... my watermark file would be Stramm.png
Upload it in the same directory as your fallback watermark file

http://forum.coppermine-gallery.net/index.php?topic=16286.msg92232#msg92232

clubvibe

i installed stramm's 'allready edited' files. the only file i didn't replace is theme.php. So i figured this was the problem for thebatch upload pictures. I also installed theme.php but it stil doesn 't work. What could be the problem? I'm sure i copied ALL files now.

Stramm

theme.php doesn't matter at all.
I'll need more info if I should help you. Does uploading a single file work and does it get the watermarked...

have you checked the standard errors
http://forum.coppermine-gallery.net/index.php?topic=16286.msg98081#msg98081

Zeitgeist

Is this on the fly, or does it permantely mark the image file with a watermark? I'm using the old ImageMagick one and it does it on the fly so the original files aren't modified.
I love GauGau!

Stramm

Quote from: zeitgeist on September 25, 2005, 06:21:24 AM
Is this on the fly, or does it permantely mark the image file with a watermark? I'm using the old ImageMagick one and it does it on the fly so the original files aren't modified.

Have you at least read the thread's subject? If that attracts your attention maybe post 1 in this thread tells you more about it's contents

clubvibe

Quote from: Stramm on September 24, 2005, 08:34:44 AM
theme.php doesn't matter at all.
I'll need more info if I should help you. Does uploading a single file work and does it get the watermarked...

have you checked the standard errors
http://forum.coppermine-gallery.net/index.php?topic=16286.msg98081#msg98081

I read the errors and checked them.. all seem to be OK.
Single upload works perfect. It resizes and puts a watermark on the pictures.
Batch upload doesn't resize (it displays it propperly at the good dimension, but originals are still the old dimensions and size) and it doesn't put a watermark on the pictures... strange isn't it?

My picture edit also doesn't seem to work after your patch....

Stramm

as said... I can't help you if you don't come up with some error messages.

Again I've tried. This time to edit pictures... again it works smooth
rotated the thumb/intertmediate/full 180%

http://stramm.mine.nu/cpg132/thumbnails.php?album=44 (the first thumb ;) )

And cause the mod didn't modify the batch or pic edit stuff but simply integrates into the resize function... it works in every environment as soon as it works for the normal upload. If then there are strange problem you have made some royal mistake. But again.. I can't say anything if I even don't get error messages

clubvibe

The picture editor was my mistake.. i solved that one.

As for the batch upload. I don't get any errors. Everything works smooth, except for adding the watermark and real resizing of the files.

Stramm

k, I'm sure there's some error on your end... whatever... if you want you can PM me for my email addy and then send me a zip of your coppermine base dir, include (winthout config.inc.php), lang

joker

Is there a way that I can change the order the script works?

I would like the steps like:
Upload -> Backup -> Watermark -> Resize -> Save

That way I can create a watermark that is the approximate size of my average image and when it displays the thumbnail the watermark is not larger than the pic.

Most of my images are 1280x853 or greater.  If I make a 600x80 watermark then when it watermarks the thumbnail it is wider than the image.

Stramm

sure, you'll have to modify picmgmnt.inc.php -> function add_picture()

but why would you want to do it? Creating a huge watermark and then resizing it? Makes no sense. Just make it fit on your normal images and then they automatically fit on your fullsized ones

joker

The only reason I want to do it is if the thumbnail watermark coves most of the pic its harder to edit the watermark out and use the picture.
I have uploaded some picks and the watermark falls completely in a solid colored area and is very easy to edit out.

If the watermark takes up most of the width of the image it makes it more difficult to re-touch.

Thanks for the info...

Stramm

What I've said above.... just make your watermark smaller so it fits on your normal images.  And there are no thumbnail watermarks. Thumbs stay without them

joker

Sorry...I was referring to the intermediate image.  Thanks for all your support.

jbinc

sorry if this is a repost its really difficult to find the problem im looking for but, i installed the cpg1.35 and used the mod pack. Everything installed fine but when i get to the section actually upload the pictures it doesnt do anything but just keeps loading, basically once i click continue the page just stays loading and doesnt go to the next page. It stays stuck on the upload.php. Do you know what this problem could be?

Thanks