Hi There, I'm fairly new to gossamer links so apologies if I ask any stupid questions.
I am trying to get images to show up in my detailed page listings. I have added the fields into the links database and the add form and they show up in the admin fine. What I am having trouble with is:
1. what do I add to my detailed template to get the image to show correctly? I have tried this:
<%if SDE_Photo1%><img src="/Detailed/UserImages/<%SDE_Photo1%>"><%endif%>
and when I view the source code I get this:
<img src="/Detailed/UserImages/IMG_3396.jpg">
but the image actually gets stored here:
/Detailed/UserImages/4/4-IMG_3396.jpg
So, I'm a little confused about how its storing in these directories and how to link to them.
2. when I go to modify a link, the image form fields are blank and the image values are lost when a user updates a listing. How do I change this so that it is similar to the admin where it changes to "view" and has delete check boxes if an image is present?
Many thanks!
Jan
I am trying to get images to show up in my detailed page listings. I have added the fields into the links database and the add form and they show up in the admin fine. What I am having trouble with is:
1. what do I add to my detailed template to get the image to show correctly? I have tried this:
<%if SDE_Photo1%><img src="/Detailed/UserImages/<%SDE_Photo1%>"><%endif%>
and when I view the source code I get this:
<img src="/Detailed/UserImages/IMG_3396.jpg">
but the image actually gets stored here:
/Detailed/UserImages/4/4-IMG_3396.jpg
So, I'm a little confused about how its storing in these directories and how to link to them.
2. when I go to modify a link, the image form fields are blank and the image values are lost when a user updates a listing. How do I change this so that it is similar to the admin where it changes to "view" and has delete check boxes if an image is present?
Many thanks!
Jan