Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Problem with variable's names stored in mysql

Quote Reply
Problem with variable's names stored in mysql
Hi,

I've added a new column for images, when I do add an image to an entry, it is stored on my server like this:
REAL name: picture.jpg, anotherpicture.jpg
STORED name: 1-picture.jpg, 4-anotherpicture.jpg etc.

When I do set up PageBuilder plugin, to build a page for each link and I want to call the picture like this:
Code:
<img src="<%qtmov%>">
the result is
Code:
<img src="picture.jpg">
but not "1-picture.jpg" !!!

I thought the number in front of the name equals the ID of the Link and tried <%ID%>-<%qtmov%>but the number in front isn't the ID. :(
Maybe this is due to not every Link has a picture...


How do I correctly call the name of the image belonging to the link?

Thanks,
Sven
Subject Author Views Date
Thread Problem with variable's names stored in mysql sun112 2233 Jan 5, 2007, 9:22 AM
Post Re: [sun112] Problem with variable's names stored in mysql
brewt 2150 Jan 5, 2007, 6:11 PM