added img picking to edit