7

PDF Previews with carrierwave

 1 year ago
source link: https://gist.github.com/DRBragg/bb52b7e6ee68c8401a5f7a076a8309a4
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

PDF Previews with carrierwave · GitHub

Instantly share code, notes, and snippets.

Last active August 18, 2023 22:14
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
PDF Previews with carrierwave

Nice article.. is there any possibility the ppt file also to convert to thumbnail

Author

Not sure I follow

Ok, is there any gem file to convert the ppt, doc, excel to ppt and show it

Pls help me if we upload zip file then how to show the zip icon using carrierwave gem.

Author

Sorry @NRavindra90 it's been a while since I worked with CarrierWave, been using ActiveStorage for everything recently, not sure I can help much here.

Sorry for disterub you, I am new for rails so I am asking you. I am stuck in middle in my work.Is there possibility to use the active storage like any gems to create a thumbnail as first page of. ppt, pdf, doc, excel . Thanks

Author

Yes, ActiveStorage has the ability to make previews of the first page of pdf's (and videos) and you can write your own previewer for other file types too

I did it using poppler gem but no luck .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK