Adding images earlyer FTP'ed to my side - Could not open url

kent
kent's picture

Joined: 2002-09-18
Posts: 14
Posted: Wed, 2002-09-18 21:34

Site: fjellstua.com
Gallery: fjellstua.com/script/gallery/
Album: fjellstua.com/album/
Pics: fjellstua.com/tmp/album/nice

In [add image] i enter the following in the url or folder text-box:
fjellstua.com/tmp/album/nice/Img000001159.jpg
That works fine, and the image is added to gallery..

If I try to upload all the images in the folder by entering this in the text box:
fjellstua.com/tmp/album/nice/

I get this error-message:
Fetching Urls...
Could not open url: 'http://fjellstua.com/tmp/album/nice'
Processing status...

The tip added in the [add image]-window doesn't do me much good if i have to add
pictures one by one from my local server..
Tip: FTP images to a directory on your server then provide that path here!

I run Gallery v1.3.1 on a FreeBSD-box and it is otherwise working perfectly.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-19 04:48
Quote:
Site: fjellstua.com
Gallery: fjellstua.com/script/gallery/
Album: fjellstua.com/album/
Pics: fjellstua.com/tmp/album/nice

In [add image] i enter the following in the url or folder text-box:
fjellstua.com/tmp/album/nice/Img000001159.jpg
That works fine, and the image is added to gallery..

If I try to upload all the images in the folder by entering this in the text box:
fjellstua.com/tmp/album/nice/

I get this error-message:
Fetching Urls...
Could not open url: 'http://fjellstua.com/tmp/album/nice'
Processing status...

The tip added in the [add image]-window doesn't do me much good if i have to add
pictures one by one from my local server..
Tip: FTP images to a directory on your server then provide that path here!

I run Gallery v1.3.1 on a FreeBSD-box and it is otherwise working perfectly.

Gallery can't do the impossible. It needs to be able to see what's in that directory in order to suck the images out of it. But you've disabled directory indexing, so this URL:

http://www.fjellstua.com/tmp/album/nice/

Returns a "Forbidden: You don't have permission to access /tmp/album/nice/ on this server." message. Now, how is Gallery supposed to figure out what images are in that directory?
:smile:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-19 04:49

I forgot to say -- the other alternative is to provide a physical path to the images. Ie, ftp them to your server in your home directory and then enter "/home/yourname/thedirectory" (with the right info) into the text box.

 
kent
kent's picture

Joined: 2002-09-18
Posts: 14
Posted: Thu, 2002-09-19 10:50

Can't do the impossible? But I had such faith in you guys and your program :smile:

Well, okay.. but I have chmod'ed all directories to 777, and it still doesen't work... is this something i need to ask my host to fix?
Thanks for the info anyways... :smile:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-21 07:59

You need to enable automatic directory indexing.

Gallery can only see what you see. When you can enter the URL into
your web browser and either see the images on the screen, or see
links to the images, then it will work for Gallery. If you can't figure out
how to make that happen then yes, you should probably consult with
your ISP.