working on img loading in app and server