fixing picture dimensioning