Author Topic: Server for Pictures, etc.  (Read 1018 times)

0 Members and 1 Guest are viewing this topic.

Offline ElSid

  • Occasional poster
  • *
  • Posts: 15
    • View Profile
Server for Pictures, etc.
« on: September 09, 2009, 11:06:44 PM »
Could not find in documentation did not find a direct item in the forum.
What I would like to do is use HFS to serve a picture gallery as a link.  I/wife use JAlbum to "pre-create" the pages, including it's own index file.  I want to create a folder, "Pictures" where I can host the gallery directly from my machine.  Is this possible?  Pointing me in the right direction is appreciated.

Offline Nighted

  • Occasional poster
  • *
  • Posts: 24
  • Meat Popsicle
    • View Profile
Re: Server for Pictures, etc.
« Reply #1 on: September 10, 2009, 01:08:16 AM »
Drag the folder with the gallery into HFS. Select it, right click into the context menu and select "Properties". A tabbed dialog will appear.

In the "File Masks" tab, set the "Default file mask" to index.htm or index.html or whatever the root document is for the picture album. Now when you browse to that folder in your browser, it should open like a regular web page.
« Last Edit: September 10, 2009, 01:13:08 AM by Nighted »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Server for Pictures, etc.
« Reply #2 on: September 16, 2009, 09:18:09 AM »
nighted mixed some of version 2.2 and 2.3 :)

in version 2.2 there's no "properties".
you should right click > advanced > default file mask


while in 2.3 (beta) this step is not necessary, only dragging is.
« Last Edit: September 16, 2009, 09:20:47 AM by rejetto »

Offline ElSid

  • Occasional poster
  • *
  • Posts: 15
    • View Profile
Re: Server for Pictures, etc.
« Reply #3 on: September 18, 2009, 03:21:22 PM »
Thank you, I just dragged the folder in.

If I change the "index" file to another name (not "index.html), do I still need to mask it?

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Server for Pictures, etc.
« Reply #4 on: September 24, 2009, 10:26:12 AM »
yes.
the "mask" is a misleading name, it doesn't mask anything, it's just because it supports wildcards.
consider it as "default file".