refactor GET image, better 304 handling