server now working for images