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

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

0 Members and 1 Guest are viewing this topic.

Schubi

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanent Watermark with GD2
« Reply #140 on: April 21, 2005, 09:56:10 am »

Is there somewhere a downloadlink for this modification?
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 #141 on: April 21, 2005, 10:05:01 am »

no, you have to apply the changes needed for this mod manually, as suggested in the first posts in this thread.

Joachim
Logged

Schubi

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanent Watermark with GD2
« Reply #142 on: April 21, 2005, 01:08:14 pm »

Servus GauGau! Thx - updated the files and it it works really fine! Take a look here!
Logged

yaakoob

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanent Watermark with GD2
« Reply #143 on: April 25, 2005, 01:06:28 am »

You should be able to use the is_image() function to check if the file is an image, and only apply the watermark if it is.

Can you give a little more info about how to use that function in coppermine to prevent error with non-picture files? My php skills are basic at best and my coppermine skills are even worse.

Logged

ggnetworks

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Permanent Watermark with GD2
« Reply #144 on: May 08, 2005, 07:15:42 pm »

does all images that are batched get the watermark? also the original size image, like when u click on an image and it opens up in 100% scale, will that be watermarked too?
Logged

fedexx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Permanent Watermark with GD2
« Reply #145 on: May 14, 2005, 04:22:45 am »

Hello! I was seeing the code, proving it I have realized that when upload swf files gives error and upload cannot be done, somebody has solved east error?
Logged

pgrzegorc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Permanent Watermark with GD2
« Reply #146 on: June 12, 2005, 05:39:37 pm »

And how to add diffenren watermarks ( not only 1 watermark whole all albums, categories ) for diferent users during upload???
Because in my gallery about 20 users can upload files and I want that each user will be have own watermark - it's obvious, but how to it do during uploading? any hacks???


Pawel
Logged

djmac

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
Re: Permanent Watermark with GD2
« Reply #147 on: June 22, 2005, 10:14:22 pm »

Burpee

I was able to install your mod without any errors. I also don't get any results.  :-[  I also notice that the watermark image block in the config isn't saving the data enterd. Although the (path) and (1) and (both) are in the SQL. GD2 is available by default both in php and perl.
 
In your post you say (the prefix highlighted in red should be edited by the user to make sure it corresponds to their gallery prefix.. latest CPG should have cpg130 as prefix.) I am running 1.3.2 of CPG, so I used the prefix of 132 which the other tables were using. Was that the correct thing to do. Other than that I am all eyes on your advice.

Regards
Don
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Permanent Watermark with GD2
« Reply #148 on: June 29, 2005, 05:49:00 pm »

Hey Burpee, thanks for a great mod, am having a problem though:


1. When batch adding , the original full size image does not get watermarked
Check this Image as an example. << Was batched added but when you click to view the larger image, no watermark is seen.
Then check this image. << was uploaded through the 'upload a file' button and you can see the full size image did get watermarked.

So what could be preventing the full size image getting watermarked when batch adding?

2. Broken 'result image' when batch adding

My second problem is when batch adding for watermarking. The results screen which usually shows 'OK', 'DP' and so on for example is a broken image. What would be causing this and could you offer a solution?

Would greatly appreciate the help!
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Permanent Watermark with GD2
« Reply #149 on: June 30, 2005, 12:27:18 pm »

Anyone able to help with this?  :\'(
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Permanent Watermark with GD2
« Reply #150 on: July 05, 2005, 02:27:26 am »

5 days later ... where are you burpee?
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 #151 on: July 05, 2005, 08:01:16 am »

mod authors rarely re-visit their thread. As sf.net has disabled outbound email traffic, there's no currently not even notification working. I guess you're on your own with this.
Logged

yaakoob

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanent Watermark with GD2
« Reply #152 on: July 18, 2005, 06:13:56 am »

You should be able to use the is_image() function to check if the file is an image, and only apply the watermark if it is.

Can you give a little more info about how to use that function in coppermine to prevent error with non-picture files? My php skills are basic at best and my coppermine skills are even worse.


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 #153 on: July 18, 2005, 07:48:46 am »

read my posting just one above yours. This mod goes unsupported by the original author, you're on your own when using it. If people don't answer your question, it usually means that they don't know the answer or that they don't want to answer. Read FAQ: I've posted my question a while ago, but nobody answers. What the...?
Logged

_Samantha_

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Permanent Watermark with GD2
« Reply #154 on: August 01, 2005, 05:26:58 am »

Hi @ll!

Of you chop functioned great, however only in English! Does it
give not also into German?

please help me ...

 ::)

_Samantha_
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 #155 on: August 02, 2005, 09:39:18 am »

please rephrase your question, I don't understand (and I don't think others will). You might want to illustrate your question with a screenshot.
Logged

_Samantha_

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Permanent Watermark with GD2
« Reply #156 on: August 02, 2005, 01:51:54 pm »

Apology asks, if I expressed myself so misleadingly, but mine english
is not very good. Thanks, which answered me someone. My problem: that
chop can only in "english.php" be used, one presupposes thus, the
baking and front-end are "English". I however would like a German
copilot by mine baking and front-end. The Howto refers however only to
"english.ph" - I need the Howto for "german.php". Or do I make which
traffic and I can chop just as well to "german.php" to apply?

Who can help me?

-- Samantha --
Logged

Nibbler

  • Guest
Re: Permanent Watermark with GD2
« Reply #157 on: August 02, 2005, 03:04:20 pm »

You can safely apply the changes to the german.php instead of english.php.
Logged

undeshila

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanent Watermark with GD2
« Reply #158 on: August 04, 2005, 07:36:45 pm »

GREAT mod , tnx
i've added the mod , no problem , all the new pics get watermarked , BUT , i also want to watermark the old images. As mentioned on the 2nd page i think , i went to the util.php , found the utility to watermark albums , only that , i have 600+ albums .... and modifing each and everyone will be hell.

Can someone tell me a way to select ALL the albums pls ?!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanent Watermark with GD2
« Reply #159 on: August 04, 2005, 08:08:34 pm »

you'll have to modify the code for that
open util.php and find function updatethumbs()
a few lines below you'll see
Code: [Select]
    $query = "SELECT * FROM $picturetbl WHERE aid = '$albumid'";
replace it with
Code: [Select]
    $query = "SELECT * FROM $picturetbl";

now it doesn't matter what album you set in the admin tools... coppermine will just process them all
Pages: 1 ... 4 5 6 7 [8] 9 10   Go Up
 

Page created in 0.026 seconds with 20 queries.