PDF Thumbnail screen in a page

Hi bro/sis,

Do you know the plugin to show the big icons of PDF (has attached as
above) in the webpage?
How to write a code?
I am using paperclip and rails 3.1.x.
Thank you bro/sis!!

Best regards,
Joachim

Joachim C. wrote in post #1042003:

Hi bro/sis,

Do you know the plugin to show the big icons of PDF (has attached as
above) in the webpage?
How to write a code?
I am using paperclip and rails 3.1.x.
Thank you bro/sis!!

Best regards,
Joachim

Anyone help me??

On Mon, Jan 23, 2012 at 9:50 AM, Joachim C. [email protected]
wrote:

Joachim

Someone help me??

If I’m no wrong… I’ve seen the same in the ActiveAdmin Demo … It may
help you

Javier

On Mon, Jan 23, 2012 at 9:52 AM, Javier Q. [email protected]
wrote:

If I’m no wrong… I’ve seen the same in the ActiveAdmin Demo … It may
help you

Javier

Sorry they’re just only images …
http://demo.activeadmin.info/admin/products

To do that the only thing you need to do is add this line on your model

has_attached_file :pdf, :styles { :thumb => 100200# }

there is a dependency to make it works. You need to have in your
environment machine ghostscript installed.

I hope you`ll find the solution.

those are some blog posts about this need.

http://stackoverflow.com/questions/3496233/how-to-thumbnail-a-multi-page-pdf-with-paperclip

pt-br
http://blog.shadowmaru.org/2009/3/6/dica-rapida-thumbnail-de-pdf-no-paperclip

you can use google translator if you need!

please let us know if you fix this problem

thx

2012/1/23 Javier Q. [email protected]

Javier
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


thiagocifani
http://thiagocifani.wordpress.com/
twitter.com/thiagocifani
del.icio.us/thiagocifani
http://del.icio.us/thiagocifani

Hi Joachim,

Hope you doing Good.

Well, Myself also cross-over a same situation like this.

You can use the jquery to get that PDF symbols in site. Hope it will
resolve your Problem.

If you really want to know more about ruby on rails then click the
following.

http://innoppl.com/why-its-a-technology-to-really-consider/

Have a nice day.

Regards
Daniel Jackson

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs