corect dimensions for images
Merge branch 'imageResize'