Beginner question about image paths
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
wrap your xpath or variable calls with curly braces:
<img src="{$workspace}{image/@path}/{image/filename}" alt="{image/filename}" />
Aah..
Nice of you to respond so soon and getting it right.. I'm going to experiment some more with that. Read up on xpath some more.
Thanks a lot.
Create an account or sign in to comment.
Hello!
I'm getting my head around symphony, and I've been trying to make these persona objects on my site. Name, Age, Photo. After some fidling around I got the image to show by writing:
http://www.mytestpage.com/workspace/images/persona/
which seems kinda wrong. So I've been trying to do it something like this:
but I get the feeling I'm missing some major step here.. Do I need to edit something in the corresponding Section or Data Source? So that the filename is also selectable as a variable in the html tag.
Sorry if I come across really confused. I am.