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 28. Mar 2024, 10:36

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  [ 6 posts ] 
Author Message
PostPosted: 17. Sep 2012, 07:35 
Offline

Joined: 17. Sep 2012, 07:06
Posts: 3
I am very new to TWG, just installed it last night. I read in one post that I can point TWG to existing directory without copying the whole directory and this feature is what I am looking for since I have a huge number of pictures stored in one folder and I don't want to duplicate them in my server.

My question might be silly but how can I do that?
how can I point TWG to an existing directory without copying or uploading all the photos in the directory to TWG

Thank you in advance


Top
 Profile  
 
PostPosted: 18. Sep 2012, 11:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Change the $basedir variable to your directory.
The path has to relative to the TWG directory.

Best, Michael


Top
 Profile  
 
PostPosted: 20. Sep 2012, 17:20 
Offline

Joined: 17. Sep 2012, 07:06
Posts: 3
I set $basedir in config.php to:

/data/Pictures
data/Pictures
data/Pictures/
/data/Pictures

where my pictures are but in all the cases TWG couldn't find the directory keep saying it is not exist.

still I don't know what is the problem :( ..... hope it is not permission problem since I couldn't change the ownerhip of /data since it is NTFS filesystem


Top
 Profile  
 
PostPosted: 20. Sep 2012, 17:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
is data below twg?
if not "relative" -> means e.g. ../../data/Pictures

Best, Michael


Top
 Profile  
 
PostPosted: 20. Sep 2012, 19:49 
Offline

Joined: 17. Sep 2012, 07:06
Posts: 3
yes data is not belong to TWG so I wrote:

$basedir = '../../data/Pictures';

The error in debug:

09.20.2012 19:56:51 (en) - ERROR 2 in /var/www/twg/inc/filefunctions.inc.php, line 2515: opendir(__/__/__/data/Pictures): failed to open dir: No such file or directory

---------------
and when I wrote :
$basedir = '../../../data/Pictures';

The debug was:

09.20.2012 20:05:10 (en) - ERROR 2 in /var/www/twg/inc/filefunctions.inc.php, line 2515: opendir(__/__/__/__/data/Pictures): failed to open dir: Permission denied


Still not working :?


Top
 Profile  
 
PostPosted: 22. Sep 2012, 23:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
how does your folder structure look like?

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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