I added attached2_file column (image file) to category db, now I want to reference this column from the browser, so I did:
<IMG SRC="/cats/images/<%ID%>/<%ID%>-<%attached2_file%>">
but this way was not the best way to do that, so I read you can do something like:
<IMG SRC="<%db_cgi_url%>/jump.cgi?view=File&ID=<%ID%>">
and it should work, but in my case it did not work???!!! any idea why.. thanks...
The uploaded files in LinksSQL gets stored in the local directory in this format:
<%ID%>/<%ID%>-<%File_Name%>
example:
1/1-cat3.jpg
Thanks..
<IMG SRC="/cats/images/<%ID%>/<%ID%>-<%attached2_file%>">
but this way was not the best way to do that, so I read you can do something like:
<IMG SRC="<%db_cgi_url%>/jump.cgi?view=File&ID=<%ID%>">
and it should work, but in my case it did not work???!!! any idea why.. thanks...
The uploaded files in LinksSQL gets stored in the local directory in this format:
<%ID%>/<%ID%>-<%File_Name%>
example:
1/1-cat3.jpg
Thanks..