only sending images if allowed to