The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Watermarking full size images in vBGarage 4.0.0 Details »» | |||||||||||||||||||||||||||
Watermarking full size images in vBGarage 4.0.0
Developer Last Online: Sep 2015
This option is available and can be turned on in vbgconfig.php. You will need to set the path to your watermark image and the name of your watermark image. The watermark image must be a .png file. If anything goes wrong with watermarking after enabling it, the affect will be the image does not get watermarked. This will mostly be caused by not configuring something correctly.
By configured correctly we mean, the watermark image is a valid .png and the watermark option is enabled in vbgconfig.php and the path to the file is set correctly in vbgconfig.php and nothing went wrong in the file system. If any of the above does occur, then the image will not be watermarked. Rather then throwing errors when something went wrong we thought it best to just skip the step if a sanity check failed. To enable watermarking you set "$vbg_use_wm = 1;" in the vbgconfig file and set the name of the watermark image file with "$vbg_wm = "watermark.png";". You also have to set the path to your image with "$vbg_path = "/home/ACCOUNT_NAME/vbg_images_folder/";" All of this is done in the vbgconfig.php. There is one more setting in vbgconfig.php for positioning the watermark. Setting "$vbg_position = 0;" (default) will display the watermark top and center of the full size image. Setting "$vbg_position = 1;" will display the watermark on the bottom center of the full size image. After setting the vbgconfig.php file and having uploaded your watermark image to the configured folder, upload the vbgconfig.php file to your forums ROOT folder. When an image is uploaded, if all is configured correctly, the full size image will be watermarked and show as so when viewed as a full size popup. If you use file system mode, the folder should/will be the same folder that you choose to store your images in. Images for watermarking should be .png. They should not be transparent and should have a background. Be judicious about sizing, you have to consider small images being watermarked. We are using 75x15 and 100x15 in our trial runs. If you need help with enabling watermarking or configuring watermarking, please post in this thread. Show Your Support
|
Comments |
#2
|
|||
|
|||
I think that my watermark.png is to big, I have a file of 800 x 600.
I try to make a small file like in description. But now I'm going to sleep :squareeyed: |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
Hello Noppid,
I have tried with another water mark, but without results. I post here my watermark, can you verify of the image is oke. Here my vbgconfig file, I think it's good, but the image I am not certainly of that. PHP Code:
Here is my watermark image : |
#5
|
|||
|
|||
I have to assume your path is correct. As for the watermark, what you want to do will not work, you can not use a transparent background PNG. So what would happen with your big watermark image is it would just overwrite the photo.
I'll look into transparent backgrounds. I'm no GD or graphics expert though. In the mean time, try a watermark.png with a solid background of about 100x15. |
#6
|
|||
|
|||
Oke, I have make a new watermark and tested, but I see nothing.
I think the watermark is oke now. |
#7
|
|||
|
|||
Quote:
I would have to say there is and error is your path. That's my best guess. |
#8
|
|||
|
|||
pffff, strange.
I see that you are using opera, I have IE, maby that can be the problem. |
#9
|
|||
|
|||
Quote:
What OS is running on your server? Maybe it's a string formatting issue if you are 100% certain you have the path correct. Did the create thumbs process in the upgrader run ok on your site? |
#10
|
|||
|
|||
The server is redhat-linux and I run not the updater because I have a clean install of vbgarage. But my test forum with vbgarage 4.0 is on a subdomein, but I think that can not the problem, the path is right to my subdomein.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|