added support for images in discover.html