Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 10:38

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 29. Aug 2009, 13:53 
Offline

Joined: 21. Apr 2007, 14:54
Posts: 12
Hi,

I have spent many hours reading the forum, config files and FAQ, but I can't get it right... please help :?

I need to set watermark for all albums in a sub album (I am using $multi_root_mode=true;)

I decided to put a config.php, watermark.png and watermark.txt files in each album folder in the sub album (so a 3rd level folder), but with no luck! I would love to be able to not have to put the files in each album, so if there is a way of just having them in the root folder (2nd level).

This is the config.php file I have put in the folder:
Code:
$watermark_position=5;
$watermark_transparency=60;
$print_text=true;
$print_text_original=true;
$font = dirname(__FILE__) . '/verdana.ttf';
$fontsize=20;
$fontsize_original=20;
$text = 'WATERMARK FROM CONFIG.PHP';
$textcolor_R = 255;
$textcolor_G = 255;
$textcolor_B = 255;
$print_watermark = true;
$print_watermark_original=true;
$watermark_small =  'buttons/watermark_small.png';
$watermark_big =    'buttons/watermark.png';
$position= 5;
$transparency= 60;
$t_x= 0;
$t_y= 0;
$enable_direct_download=false;
$resize_only_if_too_big=false;


I have not been altering the config.php file. I have deleted the cache on the server and local browser every time I change something.

Where do I start in troubleshooting this?

Love the script, I used it with a couple of clients so far :)

Thanks
Lars

_________________
There is no spoon;


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 15:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
the config seems o.k.

An individual watermark.png and watermark.txt should be enough.
You don't have to set

$text = 'WATERMARK FROM CONFIG.PHP';
$watermark_small = 'buttons/watermark_small.png';
$watermark_big = 'buttons/watermark.png';

Which watermarks are shown?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 15:54 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I just tested wartermarks.

added a watermark.png file and a watermark.txt file. Deleted the images of the cache folder - both where shown.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 84 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy