vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Watermark Generator (https://vborg.vbsupport.ru/showthread.php?t=263804)

Stefan118 05-18-2011 07:06 PM

1 idea...
Is it possibe to also watermark the INLINE pictures added to a post?

As far as i can see, only the attached pictures are watermarked.
I have now disabled inline attachements on my forum.

Disasterpiece 05-19-2011 10:04 AM

Quote:

Originally Posted by inigo (Post 2197207)
I have been testing, and the problem appears to be the PNG8, because the same image saved as PNG-24 is working.

Your test image was ok, but with no trasparency.

So the problem is solved, PNG-24 working, but I have to do more tests, because there are some of the images without watermark,... and I think is because the browser's cache.

so I will tell you when I can test deeply,

Thanks,

Yes, PNG-8 seems to be a problem right now, I'll look into it.
Sadly, the php functions for image prcessing are limited, so its hard to find advanced tools without relying on external libaries not everyone has.

For now, PNG-24 should work with full transparency, so I recommend to use it, also for the case if you run into charset issues with non-latin characters.

Quote:

Originally Posted by Stefan118 (Post 2197286)
1 idea...
Is it possibe to also watermark the INLINE pictures added to a post?

As far as i can see, only the attached pictures are watermarked.
I have now disabled inline attachements on my forum.

I was sure that the inline post uses the same attachment method. Which inline-images do you mean?
Those where people simply attach an image, grab the url to the fullsize picture and add that to the post?
Or do you mean linking images from 3rd party sites?


Quick note: To see changes on the image files you have to clear your browser's cache!
In firefox it's enough to force a fresh reload via STRG+F5 and on other browsers STRG+F5 or SHIFT+F5 should work.
If you don't perform this step, your browser will show the old cached version and maybe the watermark won't show or changes won't apply.

goxy63 05-19-2011 04:56 PM

How this affects images that user chooses as background image for his profile?

Stefan118 05-19-2011 05:01 PM

Quote:

Originally Posted by Disasterpiece (Post 2197496)
I was sure that the inline post uses the same attachment method. Which inline-images do you mean?
Those where people simply attach an image, grab the url to the fullsize picture and add that to the post?
Or do you mean linking images from 3rd party sites?


Quick note: To see changes on the image files you have to clear your browser's cache!
In firefox it's enough to force a fresh reload via STRG+F5 and on other browsers STRG+F5 or SHIFT+F5 should work.
If you don't perform this step, your browser will show the old cached version and maybe the watermark won't show or changes won't apply.

At the folowing link (second post) you can see what i ment with inline attachments.

http://www.papegaaienforum.nl/showth...ich-aan-u-voor.

Disasterpiece 05-19-2011 05:44 PM

Quote:

Originally Posted by goxy63 (Post 2197649)
How this affects images that user chooses as background image for his profile?

That is a good question, didn't think of that. I'll check it out and update if necessary.

Quote:

Originally Posted by Stefan118 (Post 2197652)
At the folowing link (second post) you can see what i ment with inline attachments.

http://www.papegaaienforum.nl/showth...ich-aan-u-voor.

Well, they're external links, which means these images aren't hosted on your server. So there is no need to (and in fact, you shouldn't) add a watermark to it, because they aren't "yours".

Stefan118 05-19-2011 09:07 PM

Ok, i thought it was becouse the member has put the image between the post, instead of an attachment.

But indeed, after i have read your last post i figured out they are indeed external.

Thanks for clearing that out !

ndut 05-19-2011 11:03 PM

thank you

dang3rzon3 05-20-2011 09:19 AM

it works with cms article?

Disasterpiece 05-20-2011 12:50 PM

Quote:

Originally Posted by dang3rzon3 (Post 2197921)
it works with cms article?

Im not sure if the cms uses the default attachment system or their own.
Also i still don't own the vb suite so i cant test it myself

inigo 05-20-2011 02:52 PM

Quote:

Originally Posted by dang3rzon3 (Post 2197921)
it works with cms article?

Yes, you can see it working here:

http://www.cochesrc.com

I wanted to the CMS section.


All times are GMT. The time now is 06:13 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.01202 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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