Shrinks images to used sizes for faster loading