fixed issue with side loading images for resize