obtenint la llista d'imatges