guestbook view.php

Permalink
I was making a few changes to the guestbook and wanted to add an image but the file isn't found and the path to it looks like mydomain.com/index.php/sport-show/post_comment.png

Next i tried using <?=$this->getThemePath()?> figuring I could put the image in the theme folder, but that didn't work either.

So my question: How do add a path to an image in the view.php file?
Thanks

pvernaglia
 
Mnkras replied on at Permalink Reply
Mnkras
you can use that code, but make sure to put a / after it
pvernaglia replied on at Permalink Reply
pvernaglia
When I use the code: <?=$this->getThemePath()?>/images/post_comment.png"

The browser looks for the image in mydomain.com/images and not in the image directory in the theme.

My work around is to have an images directory off the root, but that's not where I want them, I would prefer the images were in the guestbook or theme directory.