getgrav / getgrav/grav-plugin-admin

Image always set to square ratio in pagemedia field

Open
#793 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

It seems the images in the `pagemedia` field have their width and height forcefully set to 150px with the CSS selector `.dropzone .dz-preview .dz-details img`. Attached an image illustrating the problem:

![screenshot 2016-09-22 10 05 51](https://cloud.githubusercontent.com/assets/1101677/18740904/8560d53e-80ac-11e6-94e0-7366092e1a00.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.