media-manager-improvement icon indicating copy to clipboard operation
media-manager-improvement copied to clipboard

Size of image in modal view

Open schnuti opened this issue 6 years ago • 4 comments

Steps to reproduce the issue

View a larger image in modal view. Only parts of the image is shown dependent on browsers view size. It has a default (ctrl + 0)

Expected result

Shouldn't the image be resized according to viewport size? (Alternative scrolling?)

Actual result

Only a part of the image is shown. To view the whole image you have to resize the browser one or more times. (ctrl + - )

System information (as much as possible)

Not system or browser dependent as far as I understand. Tested with FF and Chrome on Win10.

schnuti avatar May 27 '18 11:05 schnuti

What would help is a screenshot, if available.

laoneo avatar May 28 '18 07:05 laoneo

Well, a nice image 1200x1200px

With default viewport large_1

After 5x ctrl + - large-5-ctrl-

schnuti avatar May 28 '18 12:05 schnuti

I guess we can set a max height and width based on the viewport size which should resolve this issue. I'll create the PR later today.

ciar4n avatar May 29 '18 11:05 ciar4n

We may include this component for the preview of the images.

geetanshu-m avatar Jul 17 '18 09:07 geetanshu-m