summaryrefslogtreecommitdiff
path: root/sample/src/setup.xml
AgeCommit message (Collapse)AuthorFilesLines
2016-04-03Switch the sample gallery to the new fluid themeTomas Bzatek1-1/+1
2016-04-03jpeg-utils: Override artist and owner nameTomas Bzatek1-0/+6
Useful to override previous camera owner name stored in EXIF.
2015-08-29jpeg-utils: Filter out certain tags from external EXIF fileTomas Bzatek1-0/+2
Turned out that we shouldn't blindly copy all metadata from the supplied external EXIF file since they belong to a different image. This includes image size, JPEG compression parameters, rotation etc. This commit adds tag filtering so that not all tags are copied, retaining the important ones from the gallery image. The list of retained tags is by no means complete and is subject to future tweaks. For the moment this feature is recommended to be turned off (and is by default).
2015-02-01Move the current design templates in the "classic" subdirTomas Bzatek1-1/+1
Let's call this design a "classic" one.
2014-09-15theming: Allow themes to use different thumbnail image sizesTomas Bzatek1-6/+0
This change makes thumbnail image sizes more flexible by explicitly stating the particular image size is a thumbnail. And each thumbnail image size can have different squared settings. On the theme side it's now mandatory to specify which thumbnail size to use (if applicable). This allows us to have different thumbnail styles for index and album pages. This commit also removes the <squared_thumbnails> tag from setup.xml file but retains fallback for ver. 1 setup.xml files.
2014-03-21Make setup files versioned and add fallback for old versionsTomas Bzatek1-1/+1
This commit makes setup files (setup.xml and referenced design setup xml file) versioned and adds checks for correct versions. If a newer versioned file is detected, warning is printed out in assumption that a stray cgg version is used. If the version information is missing or is lower than expected version, files are read in legacy mode. Some values are left on defaults and missing mandatory values are either read from renamed keys or made up to suit current requirements. This essentially brings back compatibility with old setup.xml files that are usually part of galleries. However, some values are hardcoded and should be kept in mind to update and test the legacy mode along with future enhancements.
2013-04-07sample: Add rel="nofollow" for some footer linksTomas Bzatek1-1/+1
Validator links don't need to be followed.
2013-03-16Strip XMP metadata by defaultTomas Bzatek1-0/+4
Some RAW editors like Adobe products like to include XMP data. Let's strip them all off (unless disabled).
2013-03-16Add support for writing external EXIF metadata back to imagesTomas Bzatek1-0/+5
Turned off by default, this will copy all data from supplied external EXIF metadata file back to all generated image files. All user overrides are still applied on top of it. Another reason for turning this off is file size concern, target image files would carry a lot more information that may not be always needed and would increase total amount of data transferred.
2012-12-30setup: Introduce location section and reorganizeTomas Bzatek1-2/+8
More and more we need to know local and public locations for various features. Let's introduce general keys once and for all.
2011-06-04Autorotate images according to EXIF Orientation infoTomas Bzatek1-0/+4
This comes with a cost of decoding full image when only getting image size.
2011-06-04Port Go Up link to the new defines systemTomas Bzatek1-4/+0
2011-06-04Port EXIF table visibility switch to the new defines systemTomas Bzatek1-3/+0
2011-06-04Port border style to the new defines systemTomas Bzatek1-2/+0
This change allows greater flexibility for separate themes.
2011-05-29Introduce new theming systemTomas Bzatek1-45/+6
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-0/+7
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-15/+28
2009-04-25Custom thumbnail file name formatTomas Bzatek1-0/+6
2009-04-11User customizable image directoriesTomas Bzatek1-0/+5
2009-03-28Support for custom index file nameTomas Bzatek1-0/+5
Affects every generated HTML file (i.e. all of them would have .php extensions)
2009-03-14Option to hide EXIF table in single photo viewTomas Bzatek1-0/+3
2009-03-14Option to hide "Go Up" linksTomas Bzatek1-0/+4
2009-03-14Support for common supportfiles rootTomas Bzatek1-0/+7
2009-03-14Make theming more flexibleTomas Bzatek1-3/+7
Template support files (CSS, images, scripts) are now a list instead of hardcoded single CSS and single script file
2009-03-07Favicon supportTomas Bzatek1-0/+5
2009-02-17Enable <nofullsize> in setup.xmlTomas Bzatek1-0/+6
Support for <fullsize> override in the album
2009-01-10Templates cleanup, remove non-XHTML codeTomas Bzatek1-3/+3
Much better flexibility in scaling, although some elements are fixed to pixels (image sizes, borders)
2009-01-03Scroll to parent item when going upTomas Bzatek1-0/+6
2009-01-01Support for adding copyrightTomas Bzatek1-0/+6
2008-12-31Make page titles intelligentTomas Bzatek1-0/+3
2008-12-31Use image title as meta descriptionTomas Bzatek1-1/+8
Allow per-album meta tags
2008-12-30Optionally erase embedded thumbnail from EXIFTomas Bzatek1-0/+4
2008-12-30Optional fallback to IPTC/EXIF captions and commentsTomas Bzatek1-0/+7
2008-12-28Preload next imageTomas Bzatek1-0/+2
(active by default)
2008-08-14Treat meta tags in a cleaner wayTomas Bzatek1-0/+3
2008-08-13Fix up meta tags, add support for author tagTomas Bzatek1-0/+5
2008-08-10Support for different preview image bordersTomas Bzatek1-1/+3
Strip trailing whitespaces
2008-07-27Initial commitv0.99.0Tomas Bzatek1-0/+35