I'm too dumb to have a blog

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Peachman
Regular
Posts: 8
Joined: Wed May 17, 2006 11:30 pm
Location: Massachusetts
Contact:

I'm too dumb to have a blog

Post by Peachman »

I am trying to post a pdf file - do I need a special plug in? When I upload it to my Media Library, it comes in as an application/pdf, and a little red x in a square in the corner. When the x clicked, it opens the pdf file in a pdf/explorer window. Is there any way to capture the image, and post it in the blog?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Not so far as I'm aware; we do have a PDF plugin, but I think it goes the other way.

The only thing I could think of is to take a screenshot and add it to the Media Library.

The problem is that browsers only know how to display HTML, not PDF. Sometimes they use helper applications to display unknown formats, like PDF, but it doesn't include them as part of the original web page. It treats them like a separate document.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

When imagemagick is available and enabled in s9y, the first page of a PDF is used as a thimbnail.

This does not work with PHPs gdlib, as it has no functionality for that.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply