render image rather than redirect to show page