uploaded optimized memorials images and injected into html page