summaryrefslogtreecommitdiff
path: root/doc/todo/toplevel_index.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-09-27 20:53:02 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-09-27 20:53:02 -0400
commitf42215cb65173299bca13cd8bafabdcb9ad2ab2d (patch)
treebe4bc3e67e9cf70316fdf4b34032e852c5c50c6c /doc/todo/toplevel_index.mdwn
parent1a366910d30a0ff07a16f3d0505e0584a63a465a (diff)
img: Correct bug in image size calculation code.
If an image was resized smaller, with width and height specified to values that did not fit its aspect ratio, the image tag with/height were not adjusted to the actual size imagemagick chooses. This was broken by 03449610d6c666ba24bea68f01d896613e522278. To fix it right, it unfortunatly needs to always read the src image now, in order to determine if the image is being displayed larger, or resized smaller. When resized smaller, it then always uses the size of the thumbnail, while for larger it calculates the size. (Only way to get rid of this sometimes extra image read would be to change it to not allow displaying images larger.)
Diffstat (limited to 'doc/todo/toplevel_index.mdwn')
0 files changed, 0 insertions, 0 deletions