make portrait photos small in index page.