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 |
#12
|
|||
|
|||
Maybe nobody needs read permissions to get the watermark.png? Try setting the folder 777 and see if that helps, it's worth a shot.
When you upload a pic, it does not get watermaked, that I'm clear on. You have a new install. Last question, when you upload a pic, do you see the thumbnail appear on the edit page when it's done uploading? I'm with ya, holler back. |
#13
|
|||
|
|||
Oke, I have tried the chmod 777, but with no results.
I get all tumbnails, everything are well, I get no errors nothing is there wrong, I become crazy (lol) look the screen. |
#14
|
|||
|
|||
Quote:
If it were me on my test server I would just put in a few echo statements, spit out the variables, halt execution, and see what's happening. Hard to tell what's up from here. :banghead: |
#15
|
|||
|
|||
Quote:
hahaha, I have no idea how that would have all, but I think I can wait better, and look at there if more people with such problems, perhaps there still a solution comes. Thnx for your help. Oke there is well news I tested it with the filesystem ,and now I have a watermark. I think I go back to the database system and look again, and I have also a watermark. The problem was that I used the lower part as a watermarked, if I use a file of 1024 x 768, the watermark is not visible because the lower part of the full screen is 1 cm shortened, when I do the watermark to the top, and upload a new screen, than it is visible. When I upload a screen about max of 600 x 400 , then you can see the watermark on the top and the lower part (exactly what you have filled in in the vbgconfig). The problem is therefore photograph larger than 600 x 400 , the watermark is only visible on top, and when you edit it to the lowerpart, it is not visible because he shortened 1 cm. I hope that you understand me, because my English is not well :squareeyed: Is it possible change altitude of the water mark ,so that I can use them to te lower part, but a little bit higher, I think that the problem then has been solved. Thnx |
#16
|
|||
|
|||
In vBGarage.php find...
PHP Code:
Glad that worked out. |
#17
|
|||
|
|||
Quote:
|
#18
|
|||
|
|||
can't get watermark to work. I've tried everything!!!! I'm thinking my path isn't correct, but then what is? the watermark is here
www.mysite.com/forum/images/watermark/777/ then the image .png is in there, but I put that in the vbgconfig.php and it still doesn't work.. any suggestions? also, how do you edit it so instead of vBGarage it's just "Garage"? Heres the entire coding: Quote:
http://www.mysite.com/forum/images/w.../watermark.png and nothing works! |
#19
|
|||
|
|||
$vbg_path = "/forum/images/watermark/";
Is not a fully qualified path. Check phpinfo() for your complete path. |
#20
|
|||
|
|||
alright i'll check that, also, how do you make it say "Garage" instead of "vBGarage" on the top link list place?
|
#21
|
|||
|
|||
change the navbar code. there are about 5 instances in vbgarage.php
do not rename the file. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|