Changing to galleria and creating links for images instead of laoding through php