Use role=presentation instead of filename for alt

Set role="presentation" instead of using filename for image alt attribute - it's a more sensible default considering that we can't automatically describe the contents of an image. Also put the alt attribute behind a check for it.