How to link to a treasury file without a thumbnail?

ugober

How to link to a treasury file without a thumbnail?

Posted:21 Aug 2008 (19:32 UTC)
I've created a file gallery with PDF files in it. In a wiki page, I want to have links to these files without thumbnails, so that they can just appear in text, but I cannot figure out how to avoid displaying the default PDF thumbnail image.

I was hoping that '{ file id=141 description=this }' would just work. Does anyone have any suggestions?

Thanks
xing
Joined: 07 Mar 2004

Re: How to link to a treasury file without a thumbnail?

Posted:23 Aug 2008 (05:38 UTC)
beginning with release 2.1 the use of {file} is deprecated and we use {attachment} instead. the attachment plugin has a parameter, which allows you to do:

<?php
{attachment id=123 desc="This is the description" display=desc}
?>

the display=desc will tell the plugin to only show the description. i don't think the file plugin has this feature yet, but you can try.
  Page 1 of 1  1