I'm not sure if a PDF can be shown as an image that way on a browser..
But if you allow html markup, there's some html tags you can use to
display pdf: (<iframe ...>, <embed ...> or <object ...>)

May this could help:
http://stackoverflow.com/questions/291813/recommended-way-to-embed-pdf-in-html

Regards, 

-- 
Martin G.

On Fri, Sep 19, 2014 at 11:45:42AM -0700, Paul Higham wrote:
> The .pdf is referenced as an image using markdown as the wiki markup of the
> wiki page. The markup is equivalent to 
> 
> # Title
> 
> Some explanatory text . . .
> 
> ![](http://<rest of the repository URL>/doc/tip/<path to the image file in the
> repository>.pdf)
> 
> In Safari the .pdf renders perfectly, in Chrome all that shows is a little
> square indicating that the URI cannot be found, and in Firefox there is 
> nothing
> at all.
> 
> Are we not using standard procedure and just got lucky with Safari or do the
> other browsers need some help to find the image?  Could this be an Apache
> configuration issue?
> 
> Thanx!
> 
> :: paulh
> 
> On Sep 19, 2014, at 10:49 , Richard Hipp <d...@sqlite.org> wrote:
> 
> 
> 
> 
>     On Fri, Sep 19, 2014 at 1:42 PM, Julie Aguas <jag...@janmedical.com> 
> wrote:
> 
>         Hi,
> 
>         I am trying to display a pdf in a wiki,
> 
> 
>     What do you mean by "display a pdf in a wiki"?
> 
>     Fossil will display pdfs as embedded documentation.  (Example: http://
>     www.fossil-scm.org/fossil/doc/tip/www/copyright-release.pdf)  But I'm not
>     sure how you would turn a PDF into a wiki page.
> 
>      
> 
>         and it displays perfectly in Safari, but not in Firefox.  I have
>         verified that Firefox can display other pdfs, just not through the
>         fossil wiki.  Is there a setting within fossil or Firefox that will
>         enable the fossil wiki to display pdfs in Firefox?
> 
>         Thanks,
>         Julie
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to