![]() |
Watermark images (on the fly)
This is something i made because I couldn't find any hack working for 3.0.7. Just took a couple of minutes. ;)
Works with 3.0.7! |
very nice hack thanks
|
Nice work, i will test this now.
|
Quote:
|
thanks man this is just what i need :)
|
I tested on my site and it seems nothing has happen. I replaced
PHP Code:
PHP Code:
|
Hmmm... Have you tried to reload the page with CTRL+F5? Internet Explorer caches all images :)
Edit: watermark.png is one thing and watermark.PNG is another. Change the filename. :) |
nice work, I'll try it out now ^^
|
I tried what you said and still seems like nothing has happen. Will this only work on vb 3.0.3? cause im using 3.0.0 but the code seems there is no diffrence.
|
Great hack - really enjoyed it!
|
Very cool, However it is not working in 3.0.1
This is what I have at the end of my attachment.php echo $attachmentinfo["$imagetype"]; } Any ideas on how to get this working with 3.0.1? Thanks, Miguel |
Sorry have I missed something? What is this hack designed for and what does it do? Any screenshots?
|
what does watermarking do?
|
It brands your images with your site name or whatever.
|
WooHoo! Just the thing I have been desparate to get my hands on!!!!
Thanks a million. I will try it out within a day or two. |
great hack, just one problem im having is the image takes longer to load then usually. any way to fix this.
also is their a way to have gif with a watermark as well. |
this don't watermark all formats?
|
I have version 3.0.0 and only show what SIINIS is showing... any ideas?
|
it is not showing up .. the watermark.PNG .. also the load of an image as attachment ist now ultra long .. depnediung 10 or 20 seconds till the images loads when i cklick on a thumbnail ..
*going to remove it till its working or anyone knows why its not showing up .. |
a live demo would be nice.
|
Quote:
|
The watermarking works great, but images are indeed loading much slower than they used to.
Here's an example of the watermarking for those requesting for one: http://www.pdatrends.com/attachment....tachmentid=676 |
heh, I'm on broadband and that was still slow.
|
Quote:
|
I will definitley call this a great hack but the loading problem keeps this hack from becoming a clasic.
|
Hmm, yes... I noticed that the "on-the-fly" watermarking isn't good for performance. Going to modify this and release a version that watermarks the uploaded image so the script doesn't have to watermark every image everytime someone requests it.
It will probably be release tonight (in 5h) :D For you with problems, here are something to notice: * It's been tested and developed for version 3.0.3 * watermark.PNG and watermark.png is two diffrent filenames. On unixsystem watermark.PNG will NOT work. * Live demo can be seen at *WARNING, ADULT SITE* www.synd.nu |
Quote:
sweet i cant wait.. |
Any updates yet?
|
Quote:
This is a cool hack works well but for it to work on 3.0.0 and by the look of it 3.0.1 you will need to use this code. find: Code:
echo $attachmentinfo["$imagetype"]; Code:
if (strpos($attachmentinfo['mimetype'],"image/jp")) { $isjpg = 1; } [high]* Beermonster clicks install[/high] |
This hack work fine at vB 3.0.3
But watermark wont transparant although I use PNG-24 Type Any idea? |
Quote:
|
Does this work for attachments stored in a filesystem?
|
waiting for new update :)
|
Ok I got it work now, nice hack!
Quote:
|
This hack works for non-marked images. I will soon release a modification that will watermark images as they are being uploaded. I'm also thinking of a script that adds a text-file to ZIP/RAR/TAR/GZ archives so you can "watermark" those aswell!
|
Quote:
|
Quote:
|
i tried it but it doesnt reallty fit, it goes abit under the pic
|
my forum doesnt have function/ folder or the file
|
Quote:
It's in the folder that conatins all the functions files, its name is includes/ . |
All times are GMT. The time now is 04:43 PM. |
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:
|