store img size preference