In #2387445: Add styling options in the configuration we introduced optional out-of-the-box styling of embedded Flickr images. There are several effects that apply on hovering over an image to emphasize they are clickable to see the larger version. Two of those (Enlarge and Zoom) scale the image with CSS, however they enlarge the image bigger than the original size, resulting in a degradation of the resolution.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | zoom_style_without_degrading_resolution-2401205-3.patch | 8.41 KB | lolandese |
Comments
Comment #1
lolandese commentedA solution would be to use a size of the image that is one size bigger than the display size without hover. Needed:
Biggest problem to overcome is the needed center crop through CSS if the display ratio does not match that of the used bigger image. See if http://dropbucket.org/node/891 could be of any help.
Comment #2
lolandese commentedAttached patch works for all sizes but 'q' (square 150px). We should scale/crop this from the superior 'm' size that has a different ratio.
Comment #3
lolandese commentedAlso working for size 'q' now and added an additional style to emphasize.
Comment #4
lolandese commented