get pic out of imgs