remove images from array