limit thumbnails on homepage to 300px