e' possibile usare dirname in una query?
esempio

select image from webcam where not dirname($image) = 'images';


ciao