Related resources for image gallery using jquery