Newsgroups: mozilla.dev.pdf-js
From: Julian Viereck <julian.vier...@googlemail.com>
Date: Wed, 10 Oct 2012 09:21:21 +0200
Local: Wed, Oct 10 2012 3:21 am
Subject: Re: rendering first page as thumbnail
Hi priyanka,
> but it didn't work. it rendered only the first pdf under a canvas. then the rest were blank canvases.
could you make your current code available somewhere? That would be easier for me to spot what's going wrong. Easiest might be to just put the code you have into a gist: > do you have a solution?
and then send the link here again.
Best,
Julian
On Oct 6, 2012, at 6:52 PM, Priyanka M wrote:
> Hi Julian,
> I wanted something like this..
> thumbnail1 document1 name
> like a pdf gallery.
> for eg. this is the architecture of the document,
> I thought I could include a canvas tag(with id = "url") within each anchor tag, and then in the js file do something like this > $('#div1 a').each(function() {
> but it didn't work. it rendered only the first pdf under a canvas. then the rest were blank canvases.
> do you have a solution?
> thanks You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||