Fix "Image Only" not working with nice_urls disabled - Fixes #451