Advanced search  

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]

Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 15   Go Down

Author Topic: Permanant watermark with undo possibility (GD2+IMagick)  (Read 273560 times)

0 Members and 1 Guest are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #160 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)
« Last Edit: September 20, 2005, 12:11:41 pm by Stramm »
Logged

pgrzegorc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #161 on: September 20, 2005, 10:45:34 pm »

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
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #162 on: September 20, 2005, 10:48:58 pm »

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
« Last Edit: September 20, 2005, 10:54:15 pm by madeinhawaii »
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #163 on: September 21, 2005, 07:45:43 am »

Hi Stramm,

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


Dennis

;) you're absolutely right

pgrzegorc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #164 on: September 21, 2005, 08:36:49 am »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #165 on: September 21, 2005, 08:47:23 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #166 on: September 23, 2005, 01:23:47 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #167 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

Zeitgeist

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 71
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #168 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.
Logged
I love GauGau!

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #169 on: September 25, 2005, 09:18:58 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

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #170 on: September 25, 2005, 09:52:01 pm »

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....
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #171 on: September 26, 2005, 08:06:51 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #172 on: September 26, 2005, 01:57:55 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #173 on: September 26, 2005, 07:27:34 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #174 on: October 06, 2005, 12:07:58 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #175 on: October 06, 2005, 01:00:45 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #176 on: October 06, 2005, 05:18:12 pm »

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...
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #177 on: October 06, 2005, 05:29:16 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #178 on: October 06, 2005, 11:33:46 pm »

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

jbinc

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #179 on: October 13, 2005, 04:26:45 pm »

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
Logged
Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 15   Go Up
 

Page created in 0.028 seconds with 19 queries.