Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Watermark images (on upload) Details »»
Watermark images (on upload)
Version: 1.00, by Robbban Robbban is offline
Developer Last Online: Oct 2005 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 08-16-2004 Last Update: Never Installs: 25
 
No support by the author.

Here is an improved version of Watermark. Saves a lot of serverload on big sites like mine (since it's an adult site I won't paste the URL here. Send me an PM if you would like to know).

Currently only works if you have thumbnail creation enabled.

*** All that plan to install this modifcation are advised to read the posts in this thread prior to installation (vB.org Staff) ***

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-25-2005, 05:15 AM
ford351coupe ford351coupe is offline
 
Join Date: Feb 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to change this so it watermarks the images on upload without the need to thumbnail being set? I have someone wanting to watermark the images, but doesn't want to thumbnail them, and watermarking on the fly isn't working out for the users.
Reply With Quote
  #53  
Old 07-28-2005, 02:20 PM
Denno Denno is offline
 
Join Date: Jul 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this also work with 3.0.7?
Reply With Quote
  #54  
Old 07-28-2005, 04:01 PM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Denno
Does this also work with 3.0.7?
Yep i had the same result
Reply With Quote
  #55  
Old 07-28-2005, 05:37 PM
Denno Denno is offline
 
Join Date: Jul 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok cool ++++. Will try this out now then.
Reply With Quote
  #56  
Old 07-28-2005, 06:17 PM
Denno Denno is offline
 
Join Date: Jul 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm does not seem to work...maby I got the path wrong..nothing happens.
Reply With Quote
  #57  
Old 08-04-2005, 10:34 AM
Denno Denno is offline
 
Join Date: Jul 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any ideas?
Reply With Quote
  #58  
Old 08-12-2005, 09:01 AM
SilentNoise's Avatar
SilentNoise SilentNoise is offline
 
Join Date: Jan 2003
Location: Edmonton, Alberta, Canada
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Denno
Hmm does not seem to work...maby I got the path wrong..nothing happens.
I've got the right path and everything, and I'm running v3.0.8, but getting nothing
Reply With Quote
  #59  
Old 08-17-2005, 04:51 AM
FightRice.com FightRice.com is offline
 
Join Date: Mar 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I always got nothing everytime i tried this too
Reply With Quote
  #60  
Old 08-18-2005, 10:00 AM
Bandolero Bandolero is offline
 
Join Date: Nov 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is why:
  • vBulleting loads the original image and keeps a record of the original size in bytes.
  • After a stamp is added to an image its filesize increases.
  • vBulleting will only deliver the original number of bytes to the browser.
  • This causes the browser to NOT display a section at the bottom of the image.
I'm sure there is a way to fix this size problem somewhere in the PHP code or settings, but it became too deep for my resources.
Reply With Quote
  #61  
Old 09-09-2005, 05:27 AM
Bk-LS Bk-LS is offline
 
Join Date: Mar 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works fine for jpg so far but I get errors with gifs. The gif uploads, but has the following error message with no watermark on the image. How can I code this watermark hack around gifs? or just to skip gifs?

Quote:
Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /includes/functions_file.php on line 567

Warning: imagecreatefromjpeg(): '/home/domain/my_domain_name.com/VBULL_ATTACH/3/3418.attach' is not a valid JPEG file in /includes/functions_file.php on line 567

Warning: imagealphablending(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 568

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 572

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 577

Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/functions_file.php on line 578
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04974 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete