shrinking images for faster loading.