Hey,
i try to exclude every image with the extension webp.
but obviously i am doing something wrong…
query: site.images.not(extension , ‘=’, ‘webp’)
query: site.images.filterBy(image.extension , ‘=’, ‘webp’)
what am i doing wrong?
Hey,
i try to exclude every image with the extension webp.
but obviously i am doing something wrong…
query: site.images.not(extension , ‘=’, ‘webp’)
query: site.images.filterBy(image.extension , ‘=’, ‘webp’)
what am i doing wrong?
query: site.images.filterBy('extension', '!==', 'webp')
that doesnt work as expected…
query: site.images.filterBy(‘extension’, ‘==’, ‘webp’) —> shows me all images with the webp image
query: site.images.filterBy(‘extension’, ‘!==’, ‘webp’) —> shows me no images at all
the solution is:
query: site.images.filterBy(‘extension’, ‘!=’, ‘webp’)