![]() |
Quote:
Any idea for that ? |
i mean how to watermark only the attachments on my server that have been linked by other sites. i want to keep the images as it is when browsing by my members. but if the images were "stolen", i want them to be watermarked.
Quote:
|
to support gif
PHP Code:
|
worked excellent quick note to people that are trying this
dont use a transparent gif for your water mark you will get a bunch of errors i put my watermark in the root directory because for some reason i got errors when putting it into images/watermark.png thanks for the mod it works great. |
A while ago I posted about poor image quality with the watermark on.
I fixed this by finding this in attachment_watermark.php: Code:
imagejpeg($attachimage); and replacing it with this: Code:
imagejpeg($attachimage,"",93); HTH |
Default quality is 75, and is usually fine.
|
https://vborg.vbsupport.ru/external/2007/05/9.jpg
Those are a 1:1 crop of a detail of a pic uploaded and watermarked at the different quality levels. I saved this compilation at 100% quality to try to minimise the effects of another jpg conversion, but it shows the issue I was having. I was getting complaints... :) |
I don't really see much of a difference between the 75 and the 93. *shrug*
|
I added he hack to allow watermarking of "gif" which worked, but it seems to mess with the transparency of the watermark.png file.
|
iexampled image isn't realy true color. try image with different colors like HG photo and you will see difference.
|
All times are GMT. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|