Fixing small issue with no resizing of photos