handle images with no query string