Commit Graph

18726 Commits (a89dbd98921899e35c9b5b367afeca21a30719f4)

Author SHA1 Message Date
chrysn a0a26d24f9 make img unittest easier to debug 2014-07-15 14:03:00 +02:00
chrysn fa2a4d0db4 show resized img in preview using data: urls
in analogy to sparklines, this renders scaled imgs to
data:img/...;base64,... urls in preview mode.

if the image is already present on the server (eg because it was not
just inserted), the already rendered image is referenced instead.
2014-07-15 13:47:37 +02:00
chrysn a308b212ad img plugin: split resizing calculations and actual resizing
there is now a size calculating part (which chooses a final size) and a
scaling part (which triggers if the sizes calculated by the former
indicate a downscaling).

this solves the issue of unproportional upscalings
(bugs/image_rescaling_distorts_with_small_pictures).

also, "small" pdf files (or pdf files without explicit size settings),
which would not be converted under the old mechanism, now get rendered
to pngs.

this commit affects a unit test: while svgs were previously
unconditionally rendered to pngs, this now only happens on downscaling.
this is intentional -- while a small version of an svg graphic is
likely to be more compact when rendered (eg as a preview), a large
version would not have that benefit, and why convert something that
browsers basically can show and be inconsistend with how other images
are handled. the new unit test simply makes the original svg larger to
check for the same behaviros as before.
2014-07-15 13:44:22 +02:00
Christopher Baines 229c0594d5 Add some examples for the OSM plugin
Note that these examples are intended to be used more for testing and fixing
the plugin, rather than demonstrating its functionality.
2014-07-13 21:37:12 +01:00
Christopher Baines f08288409b Capitalisation changes
For OpenStreetMap and OpenLayers
2014-07-13 21:18:07 +01:00
chrysn d8b70fa39b phases are a good idea 2014-07-13 16:54:24 +02:00
https://www.google.com/accounts/o8/id?id=AItOawkickHAzX_uVJMd_vFJjae6SLs2G38URPU 7bfd3b087d link to git repo 2014-07-12 18:13:22 -04:00
smcv 14fb2ba91f clarify which case fails 2014-07-11 18:33:38 -04:00
smcv bb94da88c4 respond to cbaines regarding CSS 2014-07-11 18:24:16 -04:00
smcv 51e6dc3388 new todo, opinions welcome 2014-07-11 17:54:59 -04:00
smcv 2ffd1c1680 album6 branch (needs an unmerged ikiwiki change, so album5 is still available) 2014-07-11 17:33:39 -04:00
smcv 78a1b58f95 point to bug 2014-07-11 17:30:53 -04:00
smcv 5b227a07f8 bug + fix 2014-07-11 17:29:50 -04:00
Simon McVittie 3f4a935740 trail: don't generate a costly dependency when forcing sort order
pagespec_match_list() makes the current page depend on the pagespec
being matched, so if you use [[!trailoptions sort="..."]] to force
a sort order, the trail ends up depending on internal(*) and is
rebuilt whenever anything changes. Add a new sort_pages() and use that
instead.
2014-07-11 22:08:08 +01:00
chrysn 48c310ddbd talking about template oddities 2014-07-11 19:06:35 +02:00
fr33domlover 2eda4b2cd7 Write a tip about RTL pages 2014-07-11 08:25:31 -04:00
fr33domlover 799b2b53a1 removed 2014-07-11 08:00:19 -04:00
fr33domlover 4ed24d1fb8 2014-07-11 06:29:04 -04:00
fr33domlover 8da7db5188 Suggest initial Right-To-Left page support implementation 2014-07-11 06:00:36 -04:00
smcv 0a3ed31223 found it 2014-07-08 13:40:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkickHAzX_uVJMd_vFJjae6SLs2G38URPU 5d21dc313c inline with template=albumitem useful in current form 2014-07-08 06:59:30 -04:00
smcv 55d14596b3 2014-07-08 05:01:28 -04:00
Christopher Baines 32e6c71f05 Respond to smcv on plugins/contrib/album/discussion 2014-07-07 22:07:51 +01:00
smcv ca2b8306ac reply; disambiguate who said what 2014-07-07 13:21:54 -04:00
fr33domlover 2ceb056f53 Forum: Ask about RTL direction support 2014-07-07 10:45:00 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkickHAzX_uVJMd_vFJjae6SLs2G38URPU 50c400f0c4 Multiple vs single album viewers 2014-07-07 09:26:15 -04:00
http://invalidmagic.wordpress.com/ b1ccd9c464 2014-07-07 08:13:10 -04:00
Louis 15a4bacf51 Answer: using the transient plugin 2014-07-07 10:43:11 +02:00
smcv 8c8c1bc668 explain why that default 2014-07-06 19:13:15 -04:00
smcv 3f07701cd9 the transient underlay is good, use it :-) 2014-07-06 19:12:35 -04:00
smcv 8031dbf271 idea 2014-07-06 18:55:11 -04:00
fr33domlover 13ffa4edb2 Comment on forum item, trail link appearance 2014-07-06 18:47:33 -04:00
smcv f5a0540712 belatedly respond to kjs 2014-07-06 18:40:17 -04:00
smcv afb0b51f98 respond; hide fixed bugs by default to reduce clutter 2014-07-06 18:03:23 -04:00
chrysn cfbad20f67 auto-* ambiguity: it's ok for me 2014-07-06 23:47:06 +02:00
smcv 7bf7f2c442 2014-07-06 17:35:18 -04:00
smcv 11c219dcf1 2014-07-06 17:24:43 -04:00
Christopher Baines 83afe16536 Respond to smcv on the album discussion page 2014-07-06 22:07:34 +01:00
fr33domlover 6236b94860 Comment to myself :-) 2014-07-06 14:45:26 -04:00
fr33domlover 48b869cf42 Fix typos 2014-07-06 12:36:23 -04:00
fr33domlover 2bb5085785 Forum: Ask about strange link appearance with trail and actiontabs 2014-07-06 12:33:47 -04:00
chrysn 85cf3fcfaa give link and example for possible autoindex conflicts 2014-07-06 14:25:14 +02:00
chrysn 875f1e50cb comments on templatebody and phases 2014-07-05 19:11:47 +02:00
chrysn 996eedc3ba simple review for straightforward branch 2014-07-05 19:01:42 +02:00
chrysn 5935c6b17d suggestion on formatted times 2014-07-05 18:08:08 +02:00
chrysn bbe22b70d1 reviewed patch, suggesting minor addition 2014-07-05 17:52:25 +02:00
chrysn 6eb89492f7 comment on autoindex branch 2014-07-05 16:42:32 +02:00
Louis d1e714e485 Answer to smcv 2014-07-05 14:26:53 +02:00
smcv d41e690247 I keep getting this tag wrong 2014-07-04 18:40:20 -04:00
smcv f53cb3bd0f add branch, with a smoke-test for inline 2014-07-04 18:39:35 -04:00