Adding php script to disylay images.
Fixed jquery loading.