Usage
From LinphaWiki
Contents |
Import
Publishing images
Place your images in sub-directories of your albums directory, LinPHA will detect the images automatically and create the thumbnail etc.
You can either copy your image with the integrated filemanager, or copy them to your server with any external program you like (FTP,SCP,Windows Share,...)
Detailed Usage Description (LinPHA V1)
LinPHA contains a subfolder /albums where you MUST store your photos, Example:
Let's say, you wish to create some folders containing your holiday photos.
|
Other Notes (LinPHA V1)
Since the names of the subfolders are used to build up the LinPHA menu structure, you should name them the way you wish the album names to be displayed in the menu.
Now that we have some subfolders containing photos, you should point your browser to the LinPHA index.php (http://hostname/linpha/index.php) If everything went well, you should see all of your mainfolders created in '/albums' in the left menu.
You can now explore your pictures by navigate through the menu. Because there are no thumbnails yet, it may TAKE SOME TIME until your pictures occur. LinPHA has to create and store them in the SQL DB once.
Depending on your hardware it may now take several minutes to finish the thumbnail creation process (Celeron 400MHz ~1,5 thumbs/sec)
Editing Images
You can edit images with an external program, but if you do that, you have to follow some rules:
While editing, do not rename your files!
If you do, you will loose:
- Permissions set to this file
- Thumbnail (will automatically be recreated)
- Cached images (will automatically be recreated)
- Album comments
- Image comments
- Meta Data
- Statistics
After editing, use the "Admin" - "Import" - "Detect File Changes"-button```
Never rename a file or folder with an external program
If you do, you will loose:
- Permissions set to this file
- Thumbnail (will automatically be recreated)
- Cached images (will automatically be recreated)
- Album comments
But you will not loose:
- Image comments
- Meta Data
- Statistics
To prevent this: Always rename files and folders with the integrated filemanager!
Meta Fields
EXIF/IPTC/XMP
Through the admin section you can define which EXIF/IPTC/XMP tags should be indexed.
After selecting them, you can search for this tags, and you can display this tag informations next to the image in image view, near the thumbnail, etc.
Pay attention: After adding/deleting EXIF/IPTC/XMP tags, all your images need to be re-indexed!!!
Meta Data
You can either use IPTC which is a standard and saves the informations directly in the JPG file, or you can use the LinPHA internal meta data, which stores the data in the database. There are some predefined fields: Description, Category, Persons, Date, and you can define your own image fields.
Advantages of the LinPHA intern fields
- No limitations, you can define your own fields
- No need for write access to the files
- Does not change your files
- No dependencies of external libraries
Advantages of the IPTC/XMP fields
- Can be used in other programs
- After a database crash the information aren't lost
- Is a so-called "Standard"