I'm using drupal -7 with mobile_jquery mobile_jquery as theme

and PhotoSwipe .

The PhotoSwipe is not working in the gallery page.When we click on the thumbnail ,the image will not load first time and show the blank screen with below message

undefined

and we can see path of the image in the address-bar.
website: http://www.w3qatar.info/aldarmobi .

***`properties >> please click on any property and you can find more images >> Click on any image to see the PS.`***

When we refresh the page the PS will work.But something missing ...
I don't know what is the reason for this.Please help me to solve this issue.