Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Photos on external drive
https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=3800
Page 1 of 1

Author:  woollypigs [ 10. Feb 2015, 01:30 ]
Post subject:  Photos on external drive

Hi!

I have just fund this gallery, looks pretty good, light and fast.

I have all my photos on a usb drive, nicely sorted in folders and sub folders.

I'm using crunchbang linux (debian) where twg is installed in the /var/www/tgw folder, on my old laptop that I use as a "server".

Is there a way to point twg to my folders on my usb drive (/media/usb/photos) ? So I don't have to upload - and organise them again - all the photos, and therefore create yet another copy and take up valuable space on the HHD?

Many thanks
woollypigs

Author:  TinyWebGallery [ 10. Feb 2015, 01:52 ]
Post subject:  Re: Photos on external drive

Create a symbolic link inside the pictures folder to the drive or even link the pictures folder to the drive.

Best, Michael

Author:  woollypigs [ 10. Feb 2015, 11:31 ]
Post subject:  Re: Photos on external drive

Many thanks Michael!

I tried it out at first but it didn't work, then I started to search and poke around with the url.txt and other things. Then you answered, I went "but I have just tried that" looked at my terminal and noticed that I had entered it wrong ... doh!

That will teach me, don't play about with stuff when tired and should be in bed already :)

Author:  noris [ 6. Aug 2017, 21:08 ]
Post subject:  Re: Photos on external drive

Hi'
Please tell me in detail how to link an external image.
I tried how-to 20.
Failed.
For example, I would like to link to the following image:
http://users.atw.hu/norbertgonczi/pictu ... G_3176.JPG

Many thanks

Author:  TinyWebGallery [ 7. Aug 2017, 01:01 ]
Post subject:  Re: Photos on external drive

Have you created a listing page?

Best, Michael

Author:  noris [ 8. Aug 2017, 21:21 ]
Post subject:  Re: Photos on external drive

How do i create?
I have a link. No listing possible.
I tryed url.txt (not work, because can't listing.)
I tryed index.htm in subdirectory with one row. Follow:

<a href="http://users.atw.hu/gonczinorbert/pictures/Czeto_eskuvo_001.jpg">kep1.jpg</a>

Not work

I'm a beginner in html, php, twg...

Author:  TinyWebGallery [ 8. Aug 2017, 21:43 ]
Post subject:  Re: Photos on external drive

You have to create an url.txt that links to your index.htm

"If a listing is not possible

You can provide a page by yourself (e.g. an index.htm in a folder) that has only full links (e.g. <a href="http://www.123.com/images/image1.jpg">image1.jpg</a>) to your images. It is important that you use the html link syntax because the server does deliver the directory listing in the same way. TWG does detect full links and fetches the images from there. This makes it possible to link to any image you like and put them together in one directory!"

Best, Michael

Author:  noris [ 13. Aug 2017, 17:36 ]
Post subject:  Re: Photos on external drive

[quote="TinyWebGallery"]You have to create an url.txt that links to your index.htm

Dear Michael!

I understand finally.

In The url.txt link to directory of remote index.htm.
I created index.htm is a twg directory.
It works.
http://gonczinorbert.com/index.php?twg_album=urltest2

Thanks
Norbert

Author:  TinyWebGallery [ 13. Aug 2017, 21:38 ]
Post subject:  Re: Photos on external drive

:).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/