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 18. Oct 2017, 09:39

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 11. Sep 2011, 11:29 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
Hi!

I did setup those two parameters in config.php to disallow guest user access my cache photo:

$disable_direct_thumbs_access=true;
$use_direct_small=false;

But I found that it's not work for me...could you mind help with me..?

Also I found out iPhone cannot login to my TWG Album, is it normal?


Top
 Profile  
 
PostPosted: 11. Sep 2011, 19:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
What does not work? An error description would be helpful.

And do you use a .htaccess to protect the cache folder!
And please be aware that the whole server uses much more power because for each image an php instance is opened.

And what does not work with the iphone? An error description would be helpful.

- Michael


Top
 Profile  
 
PostPosted: 13. Sep 2011, 12:23 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
Hi!

For the iphone issue, you can reference the screen cap., which showing no login link...

For the cache, I running TWG in IIS environment, any hints for the disable cache setup?


Attachments:
fr_231.jpg
fr_231.jpg [ 62.24 KiB | Viewed 1751 times ]
Top
 Profile  
 
PostPosted: 13. Sep 2011, 12:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
In the mobile mode the menu items are reduced by default.

If you want them on a mobile device as well set:
$twg_mobile_show_menu_items=true;
in the config.

I still don't understand your cache issue.

- Michael


Top
 Profile  
 
PostPosted: 13. Sep 2011, 14:04 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
E.g.
I set the album as private, but the guest(public) is still able to access my album in following way:
http://hk235m.homeserver.com/twg/cache/ ... .small.jpg

For the mobile view, I placed the variable in config.php, but still unable to see the login button


Attachments:
config.jpg
config.jpg [ 21.57 KiB | Viewed 1750 times ]
Top
 Profile  
 
PostPosted: 13. Sep 2011, 14:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
About your data:
http://www.tinywebgallery.com/en/faq.php#h1

wrong file! Never modify config.php (see http://www.tinywebgallery.com/en/configuration.php)
Use my_config.php or the administration like described in the link.

- Michael


Top
 Profile  
 
PostPosted: 13. Sep 2011, 15:03 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
Hi,

Thx!
Now iPhone got the login button after I put the variable in the my_conf.php, but cache still able to access by public...

Did I still miss anything?


Top
 Profile  
 
PostPosted: 13. Sep 2011, 15:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
http://www.tinywebgallery.com/en/faq.php#h1 -> 4.

- Michael


Top
 Profile  
 
PostPosted: 13. Sep 2011, 15:40 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
Hi!

My server is IIS, which is no .htaccess file or 770 file concept...


Top
 Profile  
 
PostPosted: 13. Sep 2011, 16:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
This is problem google can solve easily:
e.g .http://www.hosting.com/support/dedicate ... ordprotect

- Michael


Top
 Profile  
 
PostPosted: 13. Sep 2011, 17:03 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
Hi..

Disable anonymous authentication is workable for pictures folder, but if I apply same setting, the logged user cannot preview the pic, until the user view it in full screen mode, is that TWG original design?


Attachments:
twg.jpg
twg.jpg [ 21.52 KiB | Viewed 1742 times ]
Top
 Profile  
 
PostPosted: 13. Sep 2011, 17:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
No - where have you set

$use_direct_small ?

- Michael


Top
 Profile  
 
PostPosted: 13. Sep 2011, 17:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
I just tested and it was really slow (because the image has to be generated each time) but was working fine.

Can you post the url of the image that fails? If you have a plugin that shows brocken image links like webdeveloper it's easy to find out.

- Michael


Top
 Profile  
 
PostPosted: 14. Sep 2011, 15:46 
Offline

Joined: 11. Sep 2011, 09:26
Posts: 8
Here you go:
http://hk235m.homeserver.com/twg/index. ... twg_show=x

User name: ricky
Password: 123456

I put the "$use_direct_small=false;" inside my_config.php


Top
 Profile  
 
PostPosted: 14. Sep 2011, 17:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
o.k. - the problem is that the method to replace the image with AJAX does not use $use_direct_small=false;
I have to check if I forgot to support this...

As worakround you can use the html Navigation.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO