Related resources for view image in JQuery