Images not appearing

Permalink
My hosting company just upgraded their servers and on our their previous servers we could add images to our code in C5 using this:

<img src="<?=$this->getThemePath();?>/images/social/facebook-logo.png" width="20" height="20" border="0px" style="margin-right:5px" />

Now with the new servers they don't appear. They are still fixing the bugs with their servers and I asked them why my images weren't appearing and gave them this code, they said we don't handle code on your site. However the images show with a square and red X's like they want to appear in Explorer (nothing in Firefox) but aren't getting read correctly but they just aren't showing on my site.

My question is has anyone had this issue and is there something that I am doing or is there something I can tell my hosting company to go directly to and change that will fix the problem.

I don't know if this is answered yet but any help would be greatly appreciated.

 
beebs93 replied on at Permalink Best Answer Reply
beebs93
Does

<?php echo $this->getThemePath(); ?>


work?
scsadmin replied on at Permalink Reply
This worked perfectly! Thanks a lot for the quick help it saved me from having to add all the social media icons to all the page types and adding them to children pages.
boomgraphics replied on at Permalink Reply
boomgraphics
Yeah check out beebs93's code. In your example you are using short php tags
<?=


which is not enabled by default in php.ini. You should be using the regular php tags

<?php


to be sure you are compatible with your server.