summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2012-12-27Add support for EXIF Canon Camera temperatureTomas Bzatek1-0/+3
For the moment we're using Exif.CanonSi.0x000c key from Exiv2 namespace since it's an unknown tag to it. This may need little tweaking in the future when proper naming becomes upstream.
2012-04-15Add HAS_EXIF defineTomas Bzatek2-2/+14
This brings a new HAS_EXIF define which is present when EXIF information are available. Templates have been modified to inform user when not available. The test for EXIF metadata presence is fairly basic, we only look for aperture, focal length and exposure time attributes. This might be a subject to change in the future.
2012-04-15Change EXIF metadata handling into a registered functionTomas Bzatek1-8/+8
This allows much greater flexibility from templates regarding EXIF metadata handling, no more hardcoded symbols. It's possible to display essentially any attribute known to Exiv2. Please see http://exiv2.org/metadata.html This brings two new functions that can be called from templates: * get_exif_value (exiv2_attribute) * get_exif_value_fixed (exiv2_attribute) Both functions take a string argument of metadata attribute name from Exiv2 namespace. The difference is that get_exif_value_fixed() does some extra formatting for several basic attributes (e.g. datetime format).
2011-06-04Port fullsize image link to the new defines systemTomas Bzatek1-2/+2
2011-06-04Port Go Up link to the new defines systemTomas Bzatek3-4/+10
2011-06-04Port EXIF table visibility switch to the new defines systemTomas Bzatek2-2/+4
2011-06-04Port border style to the new defines systemTomas Bzatek2-3/+7
This change allows greater flexibility for separate themes.
2011-06-04Introduce conditional systemTomas Bzatek1-0/+8
This is very basic scripting support - simple value retrieval and block conditionals. Defines could be either static from theme setup or programatically added during page generation.
2011-05-29Introduce new theming systemTomas Bzatek5-4/+102
This extends current templating system to another dimension, bringing the possibility to have multiple themes generated at once. The purpose is to be able to switch between multiple designs, from PC to mobile, classic vs. flat view, slideshow, etc. For the moment, only the classic theme is available. Rules: * for switching between themes, place a link inside your template manually - it's not a cgg concern, only your theming infrastructure * don't forget to define different file names for index and album pages across different themes * it's recommended to keep default theme named as "index.*" to avoid showing directory listing on webserver Notes: * some TODOs will be fixed when we have new theme using these advanced features (e.g. pictures in album pages) * TODO: introduce tag/block conditional system, allow custom user defines for each theme/page * TODO: deprecate <show_go_up>, <show_exif_table> and <border style> in favor of conditionals (these tags belong to theming)
2011-03-03design: Position reference anchors in negative spaceTomas Bzatek3-11/+22
This will hopefully fix all known scrolling issues as we got rid of the master content scrolling div. Needs to be tested thoroughly on touchscreen browsers. Also, paging by the Space key works now once page is rendered.
2010-10-30Write image sizes for thumbnails in HTML filesTomas Bzatek2-6/+6
2010-10-09Add support for squared thumbnailsTomas Bzatek4-7/+45
Disabled by default, only very simple center crop implemented. The SQUARED_SIMPLE_SHAVE_AMOUNT constant may be slightly adjusted according to future experience. It's a really dumb algorithm which may not be suitable for every picture. Looking for a fast and smart algorithm to determine image weight center and radius, i.e. focus on object of interest. The OpenCV's face recognition features are worth to test and consider, though I fear the speed issues.
2010-10-08Add basic Atom feed writerTomas Bzatek3-0/+3
2009-04-11Simple black and white border stylesTomas Bzatek1-0/+8
2009-04-11Support for interspacesTomas Bzatek3-0/+33
2009-03-14Option to hide EXIF table in single photo viewTomas Bzatek1-0/+2
2009-03-14Support for common supportfiles rootTomas Bzatek3-6/+6
2009-03-07Favicon supportTomas Bzatek3-3/+3
2009-02-27Dist templatesTomas Bzatek1-0/+13
Dist sample source structure - automake always deference symlinks, we need to find better way to handle the sample structure
2009-02-25The Ultimate Entity Solution (tm)Tomas Bzatek3-18/+18
2009-02-17Lock items in separate divs to prevent sloppy focus when scaled down/upTomas Bzatek3-31/+53
2009-01-10Templates cleanup, remove non-XHTML codeTomas Bzatek4-410/+339
Much better flexibility in scaling, although some elements are fixed to pixels (image sizes, borders)
2009-01-03Scroll to parent item when going upTomas Bzatek2-6/+6
2009-01-03Rounded rectangle corners in WebKitTomas Bzatek1-0/+2
2009-01-02Panel scalability design fixesTomas Bzatek1-18/+13
2009-01-02Transform scrolling to middle divTomas Bzatek4-3/+22
2009-01-02Make vertical scrollbar always visibleTomas Bzatek1-0/+1
2009-01-01Add some more border stylesTomas Bzatek1-27/+51
2008-12-31Make page titles intelligentTomas Bzatek3-3/+3
2008-12-28Preload next imageTomas Bzatek2-1/+7
(active by default)
2008-12-28Preserve EXIF table visibilityTomas Bzatek2-20/+13
2008-12-26Add support for album and index separatorsTomas Bzatek3-0/+37
2008-08-14Treat meta tags in a cleaner wayTomas Bzatek3-9/+3
2008-08-13Fix up meta tags, add support for author tagTomas Bzatek3-19/+7
2008-08-13Small design fixesTomas Bzatek4-8/+17
2008-08-10Support for footnotesTomas Bzatek2-3/+10
2008-08-10Support for different preview image bordersTomas Bzatek2-14/+38
Strip trailing whitespaces
2008-07-27Initial commitv0.99.0Tomas Bzatek5-0/+593