From ea1b97a6dda5e862ae8141831b1c3a68d2e10bf3 Mon Sep 17 00:00:00 2001 From: Simon Caminada Date: Thu, 15 Mar 2018 11:21:38 +0000 Subject: [PATCH] install app files for djangocms-picture==2.0.6 --- templates/.DS_Store | Bin 0 -> 6148 bytes .../djangocms_picture/default/.aldryn-folder | 0 .../djangocms_picture/default/picture.html | 72 ++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 templates/.DS_Store create mode 100644 templates/djangocms_picture/default/.aldryn-folder create mode 100644 templates/djangocms_picture/default/picture.html diff --git a/templates/.DS_Store b/templates/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..96a97e830d53bf378cbe3b51dbdd258145404040 GIT binary patch literal 6148 zcmeHKOHRW;41K0u6tO8gmUD&PAgaO%dVqowR6vA8rP-p~tcTzn+<|9%K&{B4Vu28{ zrJ3jPjOX*BjK=_E+1CqT4q(QjD5{Kznn%0N^57{^Y>o|DRA}&m^~gkj(WHC7M2$z> z;u(kg@9@C0?9gM2yQj@!Rkcm$M>u~y&8un4vhH^k@bR+sDpuE;Fy7lH|HAv zulY-kCi%xM(Fz8Ffq%w;Ov_cd +{% endif %} + +{# start render figure/figcaption #} +{% if instance.caption_text %} +
+{% endif %} +{# end render figure/figcaption #} + +{{ instance.picture.default_alt_text }} + +{# start render figure/figcaption #} +{% if instance.caption_text %} +
{{ instance.caption_text }}
+
+{% endif %} +{# end render figure/figcaption #} + +{% if picture_link %} + +{% endif %} + +{% comment %} + # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img + # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure + # https://github.com/divio/django-filer/blob/master/filer/models/imagemodels.py + # http://easy-thumbnails.readthedocs.io/en/2.1/usage/#templates + {{ instance.picture }} + # Available variables: + {{ instance.width }} + {{ instance.height }} + {{ instance.alignment }} + {{ instance.caption_text }} + {{ instance.attributes_str }} + # picture helper + {{ instance.get_size }} or {{ picture_size }} + # link settings + {{ instance.link_url }} + {{ instance.link_page }} + {{ instance.link_target }} + {{ instance.link_attributes_str }} + # link helper + {{ instance.get_link }} or {{ picture_link }} + # cropping settings + {{ instance.use_automatic_scaling }} + {{ instance.use_no_cropping }} + {{ instance.use_crop }} + {{ instance.use_upscale }} + {{ instance.thumbnail_options }} + # activate DJANGOCMS_PICTURE_NESTING to enable nested plugins: + {% for plugin in instance.child_plugin_instances %} + {% render_plugin plugin %} + {% endfor %} +{% endcomment %}