Use `isImage` instead of `isGdImage`