vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   Watermarking full size images in vBGarage 4.0.0 (https://vborg.vbsupport.ru/showthread.php?t=74886)

noppid 01-25-2005 07:09 PM

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.

Rhoads 01-25-2005 07:26 PM

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.

noppid 01-25-2005 07:36 PM

Quote:

Originally Posted by drl2005
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.

I hear ya, I'm perplexed too!

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:

Rhoads 01-25-2005 07:49 PM

Quote:

Originally Posted by noppid
I hear ya, I'm perplexed too!

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:


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

noppid 01-25-2005 10:44 PM

In vBGarage.php find...

PHP Code:

                        else
                            
$dest_y = ($size_y $wmh ) - 5

Change the 5 to however high off the bottom you want the watermark in pixels.

Glad that worked out. :)

Rhoads 01-25-2005 10:52 PM

Quote:

Originally Posted by noppid
In vBGarage.php find...

PHP Code:

                        else
                            
$dest_y = ($size_y $wmh ) - 5

Change the 5 to however high off the bottom you want the watermark in pixels.

Glad that worked out. :)

Oke thnx Noppid, it's working fine now :classic:

Turbo_WRX 03-23-2005 05:02 PM

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:

<?php
// vBGarage 4.0.0 By Magnus
// Ugrades/congif file by noppid @ www.lakecs.com 1-18-2005

// set this to 1 to store vbgarage images in the filesystem.
// set this to 0 to store vbgarage images in the DataBase.
$vbg_use_fs = 0;

// path to files folder, include the trailing slash. Folder must be set 777.
// this must be set to use a watermark too. If not using FS mode A read only folder is ok.
$vbg_path = "/forum/images/watermark/";

// set this to 1 to enable watermarking of full size images
$vbg_use_wm = 1;

// set the name of the watermark file. It must be uploaded to your images folder.
// you must use a .png file.

$vbg_wm = "watermark.png";

// water mark position
// set this to 0 for top center of image OR set this to 1 for bottom center of image
$vbg_position = 1;

?>
the png file i'm trying to use is this:

http://www.mysite.com/forum/images/w.../watermark.png

and nothing works!

noppid 03-23-2005 05:37 PM

$vbg_path = "/forum/images/watermark/";

Is not a fully qualified path. Check phpinfo() for your complete path.

Turbo_WRX 03-24-2005 01:36 AM

alright i'll check that, also, how do you make it say "Garage" instead of "vBGarage" on the top link list place?

noppid 03-24-2005 03:46 AM

change the navbar code. there are about 5 instances in vbgarage.php

do not rename the file.


All times are GMT. The time now is 06:58 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.01154 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_php_printable
  • (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