EXIF Info ================== * Retrieve EXIF informations from pictures ##How to Use 1. Install the PIL (Python Imaging Library) libraries, please refer to http://pythonware.com/products/pil/ or your OS manual for instructions. 2. This plugin is an extension to the Gallery plugin, so first install it, and refer to its README for usage instructions. 3. Add 'exif_info' to the plugin list. If you want, you can also specify in your configuration: EXIF_INFO_DEFAULT = True/False To set whether or not to retrieve by default the EXIF informations from your pictures. This setting can be overriden on a per article/album basis. ###Articles Override on a per article/post basis the default behaviour by adding the following: exifinfo: "True" or exifinfo: "False" ###Gallery Page At this time the Gallery page is *not* supported. ##Examples ###article.html {% if article.album %} {% for image in article.galleryimages %} {% if article.galleryexif and article.galleryexif.get(image) %}
| {{article.galleryexif.get(image).get("Model")}} | |||
|---|---|---|---|
| {{article.galleryexif.get(image).get("LensModel")}} | |||
| {{article.galleryexif.get(image).get("ISOSpeedRatings")}} | {% endif %} {% if article.galleryexif.get(image).get("FocalLength") %}{{article.galleryexif.get(image).get("FocalLength")}}mm | {% endif %} {% if article.galleryexif.get(image).get("FNumber") %}f/{{article.galleryexif.get(image).get("FNumber")}} | {% endif %} {% if article.galleryexif.get(image).get("ExposureTime") %}{{article.galleryexif.get(image).get("ExposureTime")}} | {% endif %}