1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 09:05:17 +01:00

increase photo quality

This commit is contained in:
Matthias Kretschmann 2017-07-23 22:24:43 +02:00
parent 20d5640490
commit 5291105fc4
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,17 +1,17 @@
{% case include.size %}
{% when 'phototeaser' %}
{% assign pictureSize = 'w_940%2Ch_700%2Cc_fill' %}
{% assign pictureSizeRetina = 'w_1880%2Ch_1400%2Cc_fill' %}
{% assign pictureSize = 'w_940%2Ch_700%2Cc_fill%2Cq_90' %}
{% assign pictureSizeRetina = 'w_1880%2Ch_1400%2Cc_fill%2Cq_90' %}
{% when 'photothumb' %}
{% assign pictureSize = 'w_190%2Ch_190%2Cc_thumb' %}
{% assign pictureSizeRetina = 'w_380%2Ch_380%2Cc_thumb' %}
{% assign pictureSize = 'w_190%2Ch_190%2Cc_thumb%2Cq_90' %}
{% assign pictureSizeRetina = 'w_380%2Ch_380%2Cc_thumb%2Cq_90' %}
{% when 'featured' %}
{% assign pictureSize = 'w_275%2Ch_100%2Cc_fill' %}
{% assign pictureSizeRetina = 'w_550%2Ch_200%2Cc_fill' %}
{% assign pictureSizeRetina = 'w_550%2Ch_200%2Cc_fill%2Cq_90' %}
{% else %}
{% assign pictureSize = 'w_940' %}
{% assign pictureSizeRetina = 'w_1880' %}
{% assign pictureSize = 'w_940%2Cq_90' %}
{% assign pictureSizeRetina = 'w_1880%2Cq_90' %}
{% endcase %}
{% if include.file %}