-updated to new pelican and corrected image loading