Remove check for empty img_dict