vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Watermark images (on upload) (https://vborg.vbsupport.ru/showthread.php?t=68438)

ford351coupe 07-25-2005 05:15 AM

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.

Denno 07-28-2005 02:20 PM

Does this also work with 3.0.7?

Feckie (Roger) 07-28-2005 04:01 PM

Quote:

Originally Posted by Denno
Does this also work with 3.0.7?

Yep i had the same result

Denno 07-28-2005 05:37 PM

Ok cool ++++. Will try this out now then.

Denno 07-28-2005 06:17 PM

Hmm does not seem to work...maby I got the path wrong..nothing happens.

Denno 08-04-2005 10:34 AM

Any ideas?

SilentNoise 08-12-2005 09:01 AM

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

FightRice.com 08-17-2005 04:51 AM

I always got nothing everytime i tried this too

Bandolero 08-18-2005 10:00 AM

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.

Bk-LS 09-09-2005 05:27 AM

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


All times are GMT. The time now is 06:30 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
  • Page Generation 0.01067 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete