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 the fly) (https://vborg.vbsupport.ru/showthread.php?t=68112)

Robbban 08-18-2004 06:59 AM

It's been released :)

Wential 08-26-2004 08:03 AM

Nice! Now if I can just get the logo to watermark on the SouthEast corner instead of SouthWest...........

PAINTBALLM 10-21-2004 02:04 AM

on the fly cuts off an inch or so of my image.. and on ly shows the top 25% of the watermark logo

PAINTBALLM 10-21-2004 02:08 AM

going to try on upload hack but it looks like it is a little unsucessful as of right now too.

mhobelsb 10-23-2004 10:04 AM

hello... hack is working great.
I would like to write the Username of the Poster in the Image but if i use "$bbuserinfo['username']" the username of the user looking at the file is writen there. *G* (so if there is copyright at.... username it prints always the user who is watching it. not very handy. *G). Does anyone know how to get the username who really postet the image?

PAINTBALLM 10-25-2004 01:45 AM

it would be related to attachment ID (thinks)

leeman 11-13-2004 09:10 PM

Quote:

Originally Posted by kingady
i tried it but it doesnt reallty fit, it goes abit under the pic


Same here ...

I see only like 25% of the top of the watermark image...

Any suggestions someone ???? Palees (SP?)

Bandolero 11-19-2004 07:09 AM

I tried this hack, but the image is being cut-off at different places.

What I have been able to test is that by changing the last line of the hack I get different results: (regardless of the watermark being added or not)

imagejpeg($im, fetch_attachment_path($posterid, $attachmentid), 100);
cuts the image a lot but it displays fast.

imagejpeg($im, fetch_attachment_path($posterid, $attachmentid), 90);
cuts the image less but it begins to get slow

imagejpeg($im, fetch_attachment_path($posterid, $attachmentid), 80);
shows the entire image but so slow that it never finishes the page

It looks like the hack changes the jpeg and saves it leaving something out of wack.

Does anyone has any idea why this is?

steadicamop 02-03-2005 06:48 AM

It seems to work ok, until you get to the watermark image on the overlay, then it just stops, only half the watermark loads, when I refresh I get a load of random characters, I have to refresh again but it still doesn't work right ... I'm on VBB 5.0.5

triste 02-07-2005 06:10 AM

because the content-length header doesn't match the output. so the picture gets cut off while you increase the quality.


All times are GMT. The time now is 09:42 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
  • Page Generation 0.01271 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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