fix 404 page, add resize script for images