index page now uses the image tag properly