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 Attachments: http://www.ruby-forum.com/attachment/6927/PDF_thumbnail.jpg -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 On Jan 22, 11:20 am, Joachim Cheng <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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 > > Attachments:http://www.ruby-forum.com/attachment/6927/PDF_thumbnail.jpg > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Joachim Cheng 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, > JoachimSomeone help me?? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mon, Jan 23, 2012 at 9:50 AM, Joachim Cheng <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Joachim Cheng 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 > > Someone help me?? > >If I''m no wrong... I''ve seen the same in the ActiveAdmin Demo ... It may help you Javier -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mon, Jan 23, 2012 at 9:52 AM, Javier Quarite <jquarites-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
To do that the only thing you need to do is add this line on your model
has_attached_file :pdf, :styles { :thumb => “100×200#” }
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 Quarite
<jquarites-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
>
> On Mon, Jan 23, 2012 at 9:52 AM, Javier Quarite
<jquarites-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> 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>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.