Added check that image block URL exists