vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - PB Watermark Album Images (https://vborg.vbsupport.ru/showthread.php?t=214798)

RLShare 05-28-2009 10:00 PM

PB Watermark Album Images
 
1 Attachment(s)
yeah, so I forgot that I updated this until I just came across it. So here she is updated and confirmed working on 3.7.x- 3.8.x

What does it do:
-Adds a watermark to all images uploaded to user albums and optionally profile pictures.

Features:
-Option to watermark album images
-Option to watermark profile pictures
-Can set whether to watermark thumbnails or just full size images.
-Can position watermark in 1 of 4 corners.
-watermark image gets resized when it is larger then the image to be watermarked
-Completely changed functionality so that it now adds the watermark at runtime and makes no more permanent changes to images.

Notes:
- If after you first install you do not notice a difference then clear your browser cache.
- It works with all 3 storage types for album images, but will not watermark thumbnails if you have the storage type set to 'Keep pictures in file system, but allow direct access to thumbnails'
- It only works for profile pictures that are stored in the database. I will attempt to see if I can create a workaround for this when I get a chance.
- If you want to watermark attachments there already exists 2 modifications that I have tested first hand and know work on the latest version of VB.
- This has been tested and confirmed working in VB 3.7.x as well.
- Again please clear your browser cache and test before you report problems to me.

Installation Instructions:
1. Create or Use the watermark.png I attached, and upload it to your forum root before anything. You will receive 'file does not exist' or no images will display(depending on the browser) if you do not first upload an image named 'watermark.png' to your forum root( The folder you have vbulletin installed in).
2. Import the 'product-pb_watermarkalbumimages.xml' file through the product manager.
3. Go to AdminCP->Vbulletin Options->Vbulletin Options->PB Watermark Settings and configure the settings.

Screenshots have been attached.

Megatr0n 05-29-2009 01:03 AM

Will you later on include an option that can watermark all profile pictures/album pictures in one go?

RLShare 05-29-2009 01:04 AM

This is done dynamically when the image is shown so it does watermark all profile pictures/album images now. The old version actually watermarked all of the images permanently at the point of them being uploaded, this one does not. It now does it dynamically when the image is being requested by the users browser.

smooth-c 05-29-2009 07:17 AM

Quote:

-Completely changed functionality so that it now adds the watermark at runtime and makes no more permanent changes to images.
I just enabled this mod, whenever I save an image that contains my watermark it saves the image with the watermark on top?

merkaz 05-29-2009 10:20 AM

JPEG only ?

TNCclubman 05-29-2009 11:41 AM

If someone hotlinks your image on another site, does your watermark still display there?

RLShare 05-29-2009 04:19 PM

Quote:

Originally Posted by smooth-c (Post 1819325)
I just enabled this mod, whenever I save an image that contains my watermark it saves the image with the watermark on top?

Um yeah, it is supposed to work in that manner. You are saving the image you see and the image you see has a watermark.

I think you are a little bit confused. When I say it makes no permanent changes that means it makes no permanent changes to the actual image files that are stored on your server or in your DB. Change the watermark image or turn the script off and notice the watermark will be changed or will no longer show up on the images.

Quote:

Originally Posted by TNCclubman (Post 1819445)
If someone hotlinks your image on another site, does your watermark still display there?

Yes

RLShare 05-29-2009 04:21 PM

Quote:

Originally Posted by merkaz (Post 1819411)
JPEG only ?

Is this you reporting a problem or is this a question? It should work for all images, with the exception of animated gifs.

smooth-c 05-29-2009 06:59 PM

Thanks RLShare for clearing that up :) great mod, clicked install and nominated! :)

Not sure if it's possible - would there be a way to link the watermark on the image?

For example -

User can click the watermark image (saying Click here for this site) and you can define the address within the options.

Sorry if i'm not making myself clear.

RLShare 05-29-2009 07:25 PM

I understand what you are asking but it would defeat the purpose of this mod. I could overlay a watermark over the image that is linked but then people could still just hotlink directly to the image itself bypassing that. Its not possible to embed a link directly into an image.


All times are GMT. The time now is 11:49 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.01057 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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