summaryrefslogtreecommitdiff
path: root/templates/template-view_photo.tmpl
AgeCommit message (Collapse)AuthorFilesLines
2011-05-29Introduce new theming systemTomas Bzatek1-76/+0
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)
2010-10-09Add support for squared thumbnailsTomas Bzatek1-1/+0
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 Bzatek1-0/+1
2009-03-14Option to hide EXIF table in single photo viewTomas Bzatek1-0/+2
2009-03-14Support for common supportfiles rootTomas Bzatek1-2/+2
2009-03-07Favicon supportTomas Bzatek1-1/+1
2009-02-25The Ultimate Entity Solution (tm)Tomas Bzatek1-4/+4
2009-01-10Templates cleanup, remove non-XHTML codeTomas Bzatek1-41/+47
Much better flexibility in scaling, although some elements are fixed to pixels (image sizes, borders)
2009-01-02Transform scrolling to middle divTomas Bzatek1-0/+3
2008-12-31Make page titles intelligentTomas Bzatek1-1/+1
2008-12-28Preload next imageTomas Bzatek1-1/+1
(active by default)
2008-12-28Preserve EXIF table visibilityTomas Bzatek1-3/+3
2008-08-14Treat meta tags in a cleaner wayTomas Bzatek1-3/+1
2008-08-13Fix up meta tags, add support for author tagTomas Bzatek1-6/+2
2008-08-13Small design fixesTomas Bzatek1-1/+1
2008-08-10Support for different preview image bordersTomas Bzatek1-1/+1
Strip trailing whitespaces
2008-07-27Initial commitv0.99.0Tomas Bzatek1-0/+71