How to get the path to the images folder

Permalink 1 user found helpful
Hi, I need to sue some images directly from my theme images folder in my template files.
Is the `getThemePath()` approach correct?

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

carusog
 
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Like this
<img src="<?php echo $this->getThemePath()?>/images/your_image.jpg" alt="">

This will get the image from the images folder in your themes package
carusog replied on at Permalink Reply
carusog
Hi Weiboat, and thanks for your reply, that's just the way I am using it.

Can I ask you for help with this:http://www.concrete5.org/index.php?cID=323096...

:D Thanks!
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Yes,
I was already scratching my head over that one,
If I have any brain waves I will get back to you..