[rt-users] pdf thumbnail shows as broken

Thomas Sibley trs at bestpractical.com
Thu Nov 17 13:51:46 EST 2011


On 11/17/2011 01:16 PM, Yan Seiner wrote:
> We're uploading some pdf files into custom fields as images.  We need to
> do this as we want the pdfs to be clickable in searches.

That's the wrong approach.  You should upload your PDFs into Upload a
file CFs and extend the column map (using callbacks) to allow you to
interpolate the file's URL within RT inside your format string.

> The problem is that the thumbnails show as broken images.  I'm guessing
> this is because RT doesn't know how to make thumbnails from pdfs.

RT isn't thumbnailing what you upload when it displays the CF value for
you.  Since it is an image CF, RT simply spits out an HTML <img> tag
that points to the image URL within RT.  I don't know of any browser
that renders PDFs in <img> tags.

Thomas



More information about the rt-users mailing list