mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
fix preview ratio when zooming in detail screen
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
class="{% if lazyload %}lazyload{% endif %} record record_image imgTips zoomable thumb" data-kind="image" oncontextMenu="return(false);"
|
||||
style="width:{{fit_size.width}}px;height:{{fit_size.height}}px;top:{{fit_size.top}}px;"
|
||||
src="{% if lazyload %}/assets/common/images/grey.gif{% else %}{{ url|trim }}{% endif %}" data-original="{{ url|trim }}" ondragstart="return false;">
|
||||
|
||||
<input type="hidden" name="width" value="{{ original_w }}"/>
|
||||
<input type="hidden" name="height" value="{{ original_h }}"/>
|
||||
{% endif %}
|
||||
{% if wrap %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user