Fixes incorrect dimensions (width, height) in img-tag of page image

Previously the original dimensions of the image were added, not the ones specified in the frontend module.