Closed indeyets closed 11 years ago
Fixed in a34536a3dc0a30d2aee488542caa861a8abf015d, thanks.
Did you try to do the test with mentioned file? Because your patch doesn't fix issue I'm talking about.
the problem happens on clojure/java side of things, not on js-side.
steps to reprodoce:
p.s. regarding borwser-side issues: type=post
page does CSS forced scaling of image into the square instead of cropping, but, again, that is not the problem I'm talking about
I did use the test image and it appears to work for me -- see screenshot. For the desktop version, the image resizing and cropping happens in JavaScript via the resizeImage
function, which is what I edited. Is there a reason you think the problem is elsewhere?
@oakes sorry. it was my local fluctuation. tested and confirmed :+1:
Images get weirdly cut/scaled at times. For example, if I try to attach this file:
https://gs1.wac.edgecastcdn.net/8019B6/data.tumblr.com/eb50190272c344f7d56e50aaff3beb10/tumblr_mqt1izNbYX1r0ykcvo1_500.png
only the left part is showed in nightweb