Bugs with Image input type

When implementing simple Image CB I have found a number of bugs (I believe). They are mostly related to non-cropped images (cropped ones are working fine).

  1. When uploaded image pixel size exceeds contentblocks.image.max_upload_height or contentblocks.image.max_upload_width it is rescaled to these max values and saved (as expected), but [[+width]] and [[+height]] placeholders in field template are set to original image size (which is not true anymore)
  2. When I choose from already uploaded images using media browser and image exceeds 800x600px, [[+width]] and [[+height]] placeholders are set to maximum 800x600px (respecting original image aspect ratio). What the heck is 800x600 these days anyway?
  3. When setting Manager thumbnail size in Image field definition (thus trying to use phpthumb for preview), preview in manager is broken, though everything else is working fine, both back-end and front-end. Even temporary preview while uploading is showing fine, but disappears after upload. This is due to media source basePath added to src parameter in phpthumb call. I know I can try changing media source settings to use absolute urls/paths. I am afraid this can break other working components. Using crops for manager thumb works fine as well, but I don’t want force users to use cropper.