Fixes to viewpinmodal's image

So the correct image link is now being displayed for viewpoint modal.
pins.php correctly passes the image link now.
Merge branch 'master' of https://github.com/tomrcroft/cmpe165

Conflicts:
	viewpinmodal.php