fix "Image Only" not working with nice_urls disabled
Merge pull request #452 from DakuTree/patch-fix451

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