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:57

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  [ 4 posts ] 
Author Message
PostPosted: 5. Dec 2009, 03:04 
Offline
User avatar

Joined: 16. Sep 2009, 12:26
Posts: 19
Location: Switzerland
Hello,

I would like to display images (TWG 1.7.8.1) with text to 100% (for easier reading).
Example Folder "Press" (http://www.murieldubuis.com/media4.htm).

But the browser reduce the size and we can not navigate in the larger image which is open centered (Popup).

I changed "config.php" file in the images with "$resize_only_if_too_small=true;" But it changes nothing.
Should we act on the file ../i_frames/i_popup.php ?
Or how ?

Thank you for a solution.


Top
 Profile  
 
 Post subject:
PostPosted: 5. Dec 2009, 08:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can simply open the image not in a popup but in a new window

set
$open_download_in_browser = true;
$open_as_popup=false;

But be aware that the browser does reize the image as well - you have to click one on the + to get the original

or you remove the
javascript:fitWindow('popimage');
in the i_popup.php


Top
 Profile  
 
 Post subject:
PostPosted: 6. Dec 2009, 04:55 
Offline
User avatar

Joined: 16. Sep 2009, 12:26
Posts: 19
Location: Switzerland
Hello Michael,

Thank you for these parameters. It's perfect and just what I wanted! :lol:

So I modified the file "config.php" in my folder "../040___Documents" (Press Articles) [http://www.murieldubuis.com/media4.htm] and added:
$open_download_in_browser=true; // View images at 100% - no Popup.
$open_as_popup=false; // View images at 100% - no Popup.

I have not modified the file "config.php" basic TWG (my_config.php) to keep the other type of display for photos that is correct.

PS: About the file "config.php" in a previous post I informed you that in your FAQ, I think it lacks a section on the file "config.php" in a folder. (this is not easy to resume information since all the examples).
It took time to understand the importance and especially the ease of configuration for a specific folder. Argument for TWG! :wink:

My question remains: Is it possible to use any settings file "config.php" basis in a folder?


Top
 Profile  
 
 Post subject:
PostPosted: 6. Dec 2009, 18:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
the config in a folder is explained in howto 0 and it it's own howto 17
http://www.tinywebgallery.com/en/faq.php#h17.

You can use most settings in a custom config.php - Sorting has it's own config because it needs different handling. see howto 0 again.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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