I very much like the idea of adding PDF support to the media plugin.
In fact, the primary reason I have not already is that I did not know
offhand how to generate a thumbnail either :)
pdftocairo seems like a reasonable solution. Are you thinking something like:
pdftocairo -jpeg -l 1 -scale-to 400
where the 400 is really:
maxWidth = case size of
Tall -> 200
Grande -> 300
Venti -> 400
One potential issue with PDF support is that the other media, so far,
support the idea of being displaying inline in the page with a
specific dimension. (aka, in an <img> tag), but PDF does not really
support that. But.. it would also be nice to support audio and video
files someday -- so we should not limit ourselves based on what
version 1 did ;)
- jeremy
> --
> You received this message because you are subscribed to the Google Groups
> "clckwrks" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
clckwrks+u...@googlegroups.com.
> To post to this group, send email to
clck...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/clckwrks/c7937248-1499-4210-b299-402ac9478283%40googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.