Add method to pass image path as array