Update the way the webimage determines maximum size.

You can now customize the size used instead of fixed thumbnail sizes.
Set it up in your local settings.