add initial image widths and heights