Skip to content

Releases: slazav/addphoto

3.2

07 Jan 21:44
Compare
Choose a tag to compare
  • fix {} expansions
  • expand RU{}, EN{}, WWW{} in the index
  • New design of photo pages (centered, more compact)
  • rewrite image size switching
  • scroll-on-drag feature with big images

3.1

25 Nov 10:50
Compare
Choose a tag to compare
3.1

A few incompatable changes (variables, options):

  • Rename pre-defind variables: INNAME, INBASE, HTML -> SRC_FILE, SRC_BASE, HTML.
  • If variable namestarts with _, do not put it in the index.
  • Rename option --init_width -> --page_width, use it in init mode as before and also for html max-width setting.
  • Optional find_root feature: find root folder, use it in \inc, html filter, set HTML_ROOT and HTML_DIR variables.
  • Improve functions for finding relative paths.
  • Add --ph_resize option: set path to ph_resize program (useful if it's not installed in the system).

v3.0

18 Nov 10:46
Compare
Choose a tag to compare

v3.0. Many changes, some are incompatable with previous versions

  • Addphoto generates reasonable html header of the main html file.
  • Contexts (\ctx command): adding text to different places (html headers, photo pages).
  • Variables (\def command), ${name}, ${name:-...}, ${name:+...} expansions.
  • RU{}, EN{}, WWW{}, NOHTM{}, ONLYRU{}, ONLYEN{} expansions.
  • Index: collecting information from multiple files, references to other files, \ref command.
  • Printing definitions and options, --defs, --opts --expand mode.
  • Configuration files (addphoto.cfg or addphoto/addphoto.cfg)
  • Add --datadir option (place for css and js files), it can be shared between multiple texts.
  • rearrange js/css files, one file per feature.
  • Syntax file for mcedit.
  • Remove PhotoSwipe support (new version requires different code).
  • Some options are removed, renames, changed.
  • Html is always located near source file.
  • Remove multiple spaces when joining lines.
  • fix error with thumbnail dot updating an multi-images.
  • use different colors for thumbnail dots (red for marks, magenta for multi-images).
  • fix for new ImageMagick (problem with making marks).
  • fix error in --html_filter option.
  • fix error in --nohtml mode.

2.3

18 Oct 12:30
Compare
Choose a tag to compare
2.3

This is a stable version currently used in slazav.xyz site. I have added a few new features recently, keeping it compatible with old files and parameters. Also it is moved to a separate github repo: slazab/ph_scripts -> slazav/addphoto and renamed: addphoto2 -> addphoto. I'm planning to start working on incompatible version 3.0.