Issue #2383957 by undertext, bmarshall: The src attribute must be present in the 'img' tag
picture_get_image_dimensions should always get the original dimensions of the image