check for image presence without database hit (bug 918522)