Fixed Image Size issue after upload

if an image file with high resolution is uploaded to the server then the
full image was shown in the list making the alignment of the Grid
distorted. Now this bug is fixed and small thumbnails are shown with
images not full size images.