keep empty images out of mongo