Trevor Parscal <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from James Forrester <> ---
(In reply to C. Scott Ananian from comment #1)
> I'm not convinced we should be bloating our Parsoid DOM representation with
> original size information which can easily be obtained from the imageinfo
> API.  In order to do a proper resize, you are probably going to have to
> fetch the original image anyway so that things don't get blurry when you
> scale up.
> But I'm interesting in hearing other thoughts.

We don't fetch the original image unless the new size is the image's original
dimensions – we ask MW for the thumbnail of that size. We certainly don't ask
e.g. for a 10MiB original 5000x4000px image when the user is just resizing from
250x200px to 300x240px. Also, we fetch the new image /after/ the image is

--- Comment #3 from Trevor Parscal <> ---
I do agree we should be careful, but I think this is worth including. It's
really useful and costs very little.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to