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 29. Nov 2024, 21:39

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  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: 30. Dec 2008, 02:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The first point of the howto 13 says:

- Read the watermark section in the config.php!

And the settings for the watermarks have an own tab in the administration of TWG. There everything can be nicely set by dropdowns!
(all settings that are by default in my_config.php can be set in the administration because the administration uses my_config.php for storage)
And I always say not to change config.php but my_config.php. See http://www.tinywebgallery.com/en/configuration.php 3.

btw. watermarks are not even part of the registration ;). On the registration page you find:
The watermarks on the images are only for demonstration and can be removed or modified in the config or the TWG Admin without registration.

And deleting everything does not help at all. If the cache directories are empty then it's like after an reinstall of TWG.


- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 31. Dec 2008, 00:12 
Offline

Joined: 30. Dec 2008, 01:01
Posts: 4
Hi there Michael,

Sorry to be a pain, but I have reinstalled everything... got lightbox working and out of nowhere the watermark has appeared again (funnily enough, this 'virgin' install didn't give me watermarks at the beginning!)

my_config.php reads thus:
Code:
/* This section is responsible for the watermark stuff - please delete the cache if you change watermarks */
$print_text=false;                     // new 1.1 - you can print some text on the lower left corner to protect your images  or at least make it a little bit harder to copy it without doing anything :) if you change this setting please delete the cache folder - otherwise generated images are not changed.
$print_text_original=false;            // new 1.1 does print the text on the original as well - $enable_direct_download has to be set to false!!!
   $text = "powered by TinyWebGallery";
$print_watermark = false;               // new 1.1 - you can make a watermark on the images to protect your images or at least make it a little bit harder to copy it without doing anything :) if you change this setting please delete the cache folder - otherwise generated images are not changed. Please read the description of the parameters that belong to the watermark to get best results!
$print_watermark_original=false;       // new 1.2 does print the watermark on the original as well - $enable_direct_download has to be set to false!!!
   $watermark_small =  "buttons/watermark_small.png"; // new 1.1 - this is the watermark that is used on the detail and slideshow images - can be jpg or png - png gives better results
   $watermark_big =    "buttons/watermark.png"; // new 1.1 - this is the watermark that is used on the download images - can be jpg or png - png gives better results. you can use a larger image here because the original images are most of the times much bigger
   $position= 7;                        // new 1.1 you can define the location of the watermark with this setting (top:  1  2  3, middle: 4  5  6, bottom: 7  8  9


Everything is listed as false (in the admin page and here). So where am I going wrong... I know it must be me - even thought I haven't touched single setting here!

And just to understand. When you write at the bottom of the my_config.php:
Code:
/*
Helper variable for reloading your extra settings. If you add a new parameter manually
you have to add it to this variable too - other wise it will be removed if the config
is changed by TWG admin! $ and " have to be escaped!!
*/
/* extra parameters set in the additional page in the TWG admin */

what is the variable???????

Again, sorry for my seeming stupidity, but I promise that things are changing, even when my fingers are not going near the relevant sections.

For your information. I have not generated a cache and everytime I look at the page, I delete my browser's cache as well, to try to be sure. Am using Firefox 3.0.5 if that helps.

In peace, Max


Top
 Profile  
 
 Post subject:
PostPosted: 31. Dec 2008, 00:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't know what you have but the default looks like this:

/*
Helper variable for reloading your extra settings. If you add a new parameter manually
you have to add it to this variable too - other wise it will be removed if the config
is changed by TWG admin! $ and " have to be escaped!!
*/
$additional="";
/* extra parameters set in the additional page in the TWG admin */


In the $additional field the backend stores the settings from the free text field in the administration.
Have you changes something with the backend of TWG? Because the settings are stored in my_config.php as I have written before.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 17 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