validare() trebuie sa fie un flag .. nu o metoda..
deci ceva de genul select * from images where is_validated = 1