Adding HTML links within a gallery description / PDF thumbs
jeffdoto
Joined: 2005-02-08
Posts: 2 |
Posted: Tue, 2005-02-08 17:27 |
Hey everyone, I was wondering if it is possible to add an HTML link within a gallery description that links to a PDF document. I have a very basic gallery setup at www.biovis.com/v-web/gallery It's a scientific images database that I'd like to be able to link our customer's published PDF papers to. Ideally, I'd like to have thumbs of their PDF papers. A preemptive thanks to anyone who can help, Take care, Jeff |
|
Posts: 44
Gallery fields do accept enough html to put links in. If you put
<a href="http://www.google.com">test</a>
into a text field like the image description field it will show up as a link.
Posts: 3
Hi
I tried this and I'm having a problem: I'm also trying to link to pdf documents that are uploaded to the gallery folder through ftp (I couldn't make it work at all when they were in any folder besides the gallery). When I put it in the description in html without quotes, like this:
<a href=Starbuck_Pedigree_001.pdf target=blank>Pedigree</a>
it works for a while (some where between 5 and 30 clicks) and then it breaks. It then looks something like this:
<a href="\"Starbuck_Pedigree_001.pdf\"" target="\"blank\"">Pedigree</a>
when I click on Edit the description to view it. I haven't changed anything in the description between the original input and when it breaks, so it seems that maybe I'm using an incorrect syntax that the code doesn't like. If I put it in proper html syntax with the quotes, it doesn't work at all. You can see the gallery (and all the broken links) at www.weeonesfarm.com. If you click on Donkeys for Sale and then on Starbuck, you'll see one that does work, because I just put it in without quotes, again.
I'd really rather NOT have to keep fixing them. Does anybody know the correct syntax to put the link in???
Thanks!!