Monday, February 07, 2005
AmigoPix 0.2 released
It's here! Now you can edit directory and image titles and descriptions! I was rushing to get this out over the weekend (as the timestamp will show), so there are a few things to note:
- You have to create a password file to login. Apache comes with an htpasswd util:
- htpasswd -c etc/passwd myusername
- Anyone listed in the password file can edit titles for any picture.
- For security, the login button only appears if your source IP is private, if you want to enable logins from elsewhere, add this to your config file:
- PrivLogin = 0 (don't require private IP for login)
- By default, remote (non-privateIPs) require SSL for login. If you understand the risks and want to enable remote logins without the protection of SSL, add this to your config file:
- SSLRemote = 0 (don't require SSL for remote logins)
- You can enter any text you want, including HTML for titles or descriptions.
- Directory tiles aren't clickable when logged in, click the folder icon to go into the folder.
- Fields turn green after editing if the text has been changed.
- Clearing the text out of dir or image title will reset the title to match the file name.
Clicking on a folder, thumbnail or any other navigation will lose all unsaved changes.- Long descriptions for dir's can't yet be edited.
While editing, there isn't any way to see what the previous value was.- While editing, there isn't any way to preview HTML before saving.
Here's a sample of what a customized dir tile looks like:
Note the use of HTML to change style and color of some of the title text. The black text is the short description. So far, the only way to get a customized thumbnail is to edit the .description file for the directory (by hand) and add a line like this:
icon = filename.jpg (must be a picture in that directory)
Be sure to use the filename, not the title. This ensures that if you later change the title, the icon will still be used.
Happy browsing and please report any issues you encounter.