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 2 3 4 5 [6] 7 8 9 10   Go Down

Author Topic: Permanent Watermark with GD2  (Read 247453 times)

0 Members and 3 Guests are viewing this topic.

opulence

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
Re: Permanent Watermark with GD2
« Reply #100 on: February 20, 2005, 10:21:19 pm »

I'd like to use Burpee's mod of this mod, for CPG 1.3... however I'm wondering where the watermark will appear?  and how to set it so that it will appear at bottom - 10px left - 10px  (in the bottom left corner with a 10 pixel offset).
Logged

davidshook

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanent Watermark with GD2
« Reply #101 on: February 22, 2005, 02:52:20 am »

I am sorry if this is answered somewhere in this thread allerady.
How exactly does this MOD work:
1) do all the batch uploaded pictures get watermarked?
-- or, do I get to chose if batch uploaded pictures get watermarked?

2)  do individual uploaded pictures get water marked?
-- do users/members (as opposed to admin level) have any control over the water marking process in this case.

3) what happens when a user uploads video, mp3, zip, pdf file?
-- does the upload faile?
-- does the file become unreadable?


The reason I am asking this is because I am designing a site that will have  a gallery that allows loged-in members to upload there own pictures/videos/documents. I want to have a watermark on the pictures that the users upload. The user should not be able to upload a picture without a water mark (although it is ok if they have a choice where to place the watermark on the picture)

The rest of the galleries are not for uploads by users. For these galleries I do the batch uploading and the pictures are already watermarked on my desktop pc prior to upload.

So, to some it up: all pictures that are uploaded via http/form need to be watermarked.
Batch files should not be watermarked.
Non-picture files should not be a problem (since I do not limit the file type to be uploaded)


I also think that anyone that thinks about using water marking should have these answers before going through the work of installing and testing the MOD's.

Please help, thank's in advance



Logged

davidshook

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanent Watermark with GD2
« Reply #102 on: February 24, 2005, 04:58:12 am »

hello, help anyone?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Permanent Watermark with GD2
« Reply #103 on: February 24, 2005, 06:07:59 am »

Again, have you reviewed the entire thread?  Please don't post identical replies in three different threads.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

davidshook

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanent Watermark with GD2
« Reply #104 on: February 24, 2005, 09:17:01 pm »

Again, have you reviewed the entire thread?  Please don't post identical replies in three different threads.

No disrespect, but if I would have gotten the answer to my question(s) I would have not posted in 3 different threads. I sincerely appreciate the effort and hard work put into these MOD's, but I am not sure as to the exact way to use them. I read the posts here and did not get a streight answer. I also noticed a few scatered posts that had similar questions... I could not find the answers to those posts either.

I would thinkk that it would be nice to have these answers all collected in one post and not have to search for them repeatedly in different posts. It just makes sense to explain how a script work rather than having to go through the instalation and searching process in each thread.

Hopfully, you won't take offence and if you can atleast point me to the correct post to get the answers to my questions.

Thank you
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Permanent Watermark with GD2
« Reply #105 on: February 25, 2005, 09:23:07 am »

The mods are all user contributions. You can't expect us (the dev team) to test them all, compare them to each other and write a summary on them. A thread lebelled "watermark with GD" is of course something different than "watermark with ImageMagick". As you can only use one at a time, and you should know which image library you use on your server, there's little point in us holding your hand to explain the fundamental differences between GD and ImageMagick - this has been covered elsewhere, you can't expect us to repeat a lengthy explanation on each thread that deals with those image libraries.
The same thing applies to the other differences between those watermarking hacks: if you had read all of those threads you were replying to, you would have found out that the devs disapprove of on-the-fly watermarking (read up the discussion why this is so), so we don't recommend using a watermarking hack at all. You can't expect us to support stuff that we don't recommend using at all.

Joachim
Logged

davidshook

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanent Watermark with GD2
« Reply #106 on: February 26, 2005, 04:33:01 am »

Ok, to answer my own question:
1. yes, batch uploaded pictures get watermarked. You get to choose where to place the watermark (up left/right or  down left/right, there is an extra MOD somewhere on this thread that also allows for centering the watermark, but I have not tried it).
- there is an option (in the 'config' section) that suppose to allow you to choose if you want the uploaded files to be watermarked.
IT DOES NOT WORK FOR ME - all my files get watermarked even if I choose the no watermark option.. Possibly I did not install the script correctly!? (one way to by pass this problem is by using the option that only watermarks the resized pictures... I don't use any resized pictures and therefore non of my uploaded pictures will get watermarked when I choose this option ;)

2. Individually uploaded pictures (using the 'Upload file' option) also get watermarked in the same manner as the batch uploaded pictures get watermarked..
-- users/members (other than the administrator) do not have control over the watermarking process.
 
3. So far I CAN NOT place succesfully a non-picture file!!!
I am able to upload the file and get to the page that askes for a title, description, and keywords, after that I get the error: "The previous file could not be placed."
I tried this it with MPEG and mp3 files a few times and got the same error in all my attempts.
- somebody already mentioned this error on this thread, but no one posted a solution.


Hope that this helps anyone considering this MOD and it would be great if someone can post an advice regarding #1 and #3

Thanks
Logged

yaakoob

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanent Watermark with GD2
« Reply #107 on: February 27, 2005, 11:12:36 pm »

I have similar problem with the video upload. So, for now, I am using 2 different CM instelations on my domain/server. One for the pic's and one for videos... kind-of and overkill!

Any help?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Permanent Watermark with GD2
« Reply #108 on: February 28, 2005, 07:45:22 am »

hm, hate to repeat, but anyway: using watermarking isn't recommended anyway, as it will put an enormous strain on server load. Your webhost will certainly prefer it if you don't use it at all, at least if you're getting a high traffic volume (and even serve videos). Instead of using watermarking (and having the need for two separate installs), it's recommended to watermark pics permanently (before upload).

Joachim
Logged

thejinx0r

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Permanent Watermark with GD2
« Reply #109 on: March 03, 2005, 09:52:19 pm »

How do you execute sql commands in php ?  :-[

it's been asked a few times, but never answered :(

also, is there a way to say where to put the watermarks exactly ?
like 50px from the right and 50 pixel from the bottom?
or only the default ones?
« Last Edit: March 03, 2005, 10:10:53 pm by thejinx0r »
Logged

Nibbler

  • Guest
Re: Permanent Watermark with GD2
« Reply #110 on: March 04, 2005, 01:21:56 pm »

SQL commands can be run with a db admin tool such as phpmyadmin.

You can set the $src_x and $src_y to whatever you like - just change the code.
Logged

thejinx0r

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Permanent Watermark with GD2
« Reply #111 on: March 04, 2005, 01:46:10 pm »

SQL commands can be run with a db admin tool such as phpmyadmin.

You can set the $src_x and $src_y to whatever you like - just change the code.

i have php my admin...

but i dont know how to execute them with it...
Logged

squrban

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Permanent Watermark with GD2
« Reply #112 on: March 04, 2005, 02:35:25 pm »

Hi
Can this work with CPG 1.3.2 ?
I try & try but nothing   ???

any bady help me>>>
Logged

Nibbler

  • Guest
Re: Permanent Watermark with GD2
« Reply #113 on: March 04, 2005, 02:42:58 pm »

squrban - read the thread - first post
thejinx0r - if you don't know how to use something, read the manual that comes with it.
Logged

thejinx0r

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Permanent Watermark with GD2
« Reply #114 on: March 04, 2005, 03:52:17 pm »

You can set the $src_x and $src_y to whatever you like - just change the code.

manual wasn't very helpful...
but i guess i figured it out.

oh well,
is there a way to have to different position? one for the normal and one for resized?
or am i going to have to figure that out for my self?

Logged

Nibbler

  • Guest
Re: Permanent Watermark with GD2
« Reply #115 on: March 04, 2005, 04:02:47 pm »

That's possible. You either need to code the changes yourself or wait for someone to post it for you.
Logged

thejinx0r

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Permanent Watermark with GD2
« Reply #116 on: March 04, 2005, 04:13:23 pm »

one last question and i'll be good for a while.

what exactly is the resized picture?
is it a picture that someone made smaller/bigger after uploading?

well if that's what it is,

then what do you call  the picture? the sort of smaller one that you have to click to make it bigger?

http://thejinx0r.l2p.net/RSP/displayimage.php?album=1&pos=0
theres no water mark on it,
but when you click on it, the water mark is there.

and thanks nibble for the help,
and others who tried to help :)


edit: i know you probably won't c this for awhile, but i had the config to watermark both the original and resized and it started to do it on the resize just now and i didnt touch anything :D
« Last Edit: March 04, 2005, 04:45:22 pm by thejinx0r »
Logged

Nibbler

  • Guest
Re: Permanent Watermark with GD2
« Reply #117 on: March 04, 2005, 04:16:40 pm »

The mod doesn't watermark the thumbnail pic - that's the smallest version of the picture. When you click the thumbnail, you get the resized/normal pic, when you click the resized pic, you get the fullsize pic.
Logged

squrban

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Permanent Watermark with GD2
« Reply #118 on: March 04, 2005, 04:37:29 pm »

Nibbler >> tahnk you   ;D
its just work now..I forget rename the logo.png  ;)

but I like to add the Watermark to old pic too ..so how coan I do that???

and tahnk's agen...
Logged

davidshook

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanent Watermark with GD2
« Reply #119 on: March 10, 2005, 04:54:27 am »

hm, hate to repeat, but anyway: using watermarking isn't recommended anyway, as it will put an enormous strain on server load. Your webhost will certainly prefer it if you don't use it at all, at least if you're getting a high traffic volume (and even serve videos). Instead of using watermarking (and having the need for two separate installs), it's recommended to watermark pics permanently (before upload).

Joachim

I've seen this statement throughout the forum. I agree that this may be a big strain. However, for some this is a required functionality... and, it HAS to be done ON THE SERVER! For example, I want to allow users to upload pictures and store them on the gallery. We cannot expect teh user to watermark the pictures for us. Also, I can not go through the gallery manually every day and find out which pictures are the new ones, then download those pictures, watermark them, and upload them. This is just not practical. The watermark process on the server is about as difficult as the thumbnailing proccessing and yet we are not required to create the thumbnails on the desktop and then upload them.
I think that the fact that this subject requires a dedicated section in the forum kind of hints to the value of this feature.



PS. Has anyone figured or can expain to how to fix the problem related to the error when non-picture files are uploaded????
Logged
Pages: 1 2 3 4 5 [6] 7 8 9 10   Go Up
 

Page created in 0.039 seconds with 20 queries.