When does the watermark not show, on your blog or when you click on the image. Are you using resized images, do they have Watermarks in Gallery2?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
yogie.de
Joined: 2007-10-24
Posts: 7
Posted: Sun, 2007-10-28 13:40
Hi,
when I add an image with G2Image into a wordpress post or site there is no watermark at the image. When I click on the image to see the album or the photo in the album the watermark is there. In Gallery all my pictures have watermarks beside the thumbs.
How are you specifying this image on http://www.yogie.de/wp/?p=20? Have you specified a size because this image looks larger than a standard thumbnail..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
capt_kirk
Joined: 2006-01-24
Posts: 492
Posted: Sun, 2007-10-28 23:14
In your G2 Site Admin, what do you have set under Watermarks -> Edit -> " Choose which versions of the image you'd like to watermark"?
I added it with the G2Image picker and the option "Fullsized image with link to Gallery page for image (HTML)" , at Gallery2 I choose watermark all except thumbnails.
Yogie
capt_kirk
Joined: 2006-01-24
Posts: 492
Posted: Mon, 2007-10-29 14:24
yogie.de wrote:
I added it with the G2Image picker and the option "Fullsized image with link to Gallery page for image (HTML)" , at Gallery2 I choose watermark all except thumbnails.
I can replicate this on my dev box.
It's interesting that WPG2 tags don't have this problem. If I pick a large size, so that they display a resized image, the watermark is there with the WPG2 tagged image. I think it's because the WPG2 tag is using the ImageBlock module, which is making sure the watermark is applied, but the HTML generated by G2Image is linking directly to the image.
I'd think the direct link would still generate the watermark, but it obviously doesn't. I need to do some research on how/when the watermarks are getting applied.
Ok. I know the cause. It's because G2Image is using the G2 Item ID, instead of the "Preferred Derivative." So, it's using the actual original image, instead of the derivative image with the watermark applied. My bad. Now to figure out a patch...
Nice pickup, drop that into SVN and I will add the fix for the Gallery2 Frames issue in Gallery2 2.3 and we can bundle it up into 3.03
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
capt_kirk
Joined: 2006-01-24
Posts: 492
Posted: Mon, 2007-10-29 22:04
ozgreg wrote:
...drop that into SVN and I will add the fix for the Gallery2 Frames issue in Gallery2 2.3 and we can bundle it up into 3.03
wpg2next.com's SVN and my dev box already have some G2Image 3.1 work that I'm not sure of from a final functionality and stability point of view. So, I'll drop it into g2image.php on the WP Extend SVN trunk later tonight. I'll Google chat you when it's in.
I'm very sorry to say that I have replaced the line with the code but still there is no watermark sign...
Any hints more?
Thank you in advance!
Yogie
capt_kirk
Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-31 12:19
Yogie,
You'll have to re-insert the photo. The first link was to the un-watermarked original. If you use G2Image to reinsert it, the link should be to the watermarked derivative.
Posts: 1378
When does the watermark not show, on your blog or when you click on the image. Are you using resized images, do they have Watermarks in Gallery2?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
Posts: 7
Hi,
when I add an image with G2Image into a wordpress post or site there is no watermark at the image. When I click on the image to see the album or the photo in the album the watermark is there. In Gallery all my pictures have watermarks beside the thumbs.
Any hints?
(http://www.yogie.de/wp/?p=20)
Kind regards and thanks in advance!
Yogie
Posts: 1378
How are you specifying this image on http://www.yogie.de/wp/?p=20? Have you specified a size because this image looks larger than a standard thumbnail..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
Posts: 492
In your G2 Site Admin, what do you have set under Watermarks -> Edit -> " Choose which versions of the image you'd like to watermark"?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 7
Hi,
I added it with the G2Image picker and the option "Fullsized image with link to Gallery page for image (HTML)" , at Gallery2 I choose watermark all except thumbnails.
Yogie
Posts: 492
I can replicate this on my dev box.
It's interesting that WPG2 tags don't have this problem. If I pick a large size, so that they display a resized image, the watermark is there with the WPG2 tagged image. I think it's because the WPG2 tag is using the ImageBlock module, which is making sure the watermark is applied, but the HTML generated by G2Image is linking directly to the image.
I'd think the direct link would still generate the watermark, but it obviously doesn't. I need to do some research on how/when the watermarks are getting applied.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 7
Hi Kirk,
thank you and please let me know....
Best regards
Yogie
Posts: 492
Ok. I know the cause. It's because G2Image is using the G2 Item ID, instead of the "Preferred Derivative." So, it's using the actual original image, instead of the derivative image with the watermark applied. My bad. Now to figure out a patch...
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 492
In g2image/g2image.php, replace the following line (around line 235)
with the following
That will force G2Image to use the URL for the watermarked image instead of the un-watermarked original.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 1378
Kirk,
Nice pickup, drop that into SVN and I will add the fix for the Gallery2 Frames issue in Gallery2 2.3 and we can bundle it up into 3.03
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation
Posts: 492
wpg2next.com's SVN and my dev box already have some G2Image 3.1 work that I'm not sure of from a final functionality and stability point of view. So, I'll drop it into g2image.php on the WP Extend SVN trunk later tonight. I'll Google chat you when it's in.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 7
Hi Kirk,
I'm very sorry to say that I have replaced the line with the code but still there is no watermark sign...
Any hints more?
Thank you in advance!
Yogie
Posts: 492
Yogie,
You'll have to re-insert the photo. The first link was to the un-watermarked original. If you use G2Image to reinsert it, the link should be to the watermarked derivative.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 7
Hi Kirk,
yes you're right I did this, but it seems that I inserted the code on the wrong g2image.php file. Now it works as designed many thanks for your help!
Take Care!
Yogie