Update photo_helper.php

base_url() is replaced because it gives a cleaner url like mysite.com while site_url() gives you mysite.com/index.php if you do not modify httaccess file.