Steps to reproduce:
- Upload images and pdf's with a similar name. eg (mycat.png, category.jpg, cat1.pdf)
- Edit Page
- Insert Gallery
- Enter a term in the search box that matches a known image name and a known pdf filename. eg. cat
- 2 results with thumbnails for mycat.png and category.jpg
No results returned
Ajax result contains message like 'Could not normalize image parameters for cat1.pdf'
If I change the search query to:
I get results correctly.