# Oneboxing of PDFs and other attachments

**URL:** <https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972>\
**Category:** Feature\
**Created:** [18 يناير 2017، 4:20م UTC](https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972 "2017-01-18T16:20:13Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [20 سبتمبر 2017، 7:59ص UTC](https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972/15 "2017-09-20T07:59:25Z")

</div>

> [@techAPJ](#):
>
> I had to revert this change, specifically getting information from “PDF metadata”.
> 
> The PDF metadata was being fetched using pdf-reader gem which introduced lots of its own dependencies. I just removed the dependency on pdf-reader gem for onebox.

This is a pity. Having the metadata displayed would be extremely useful, especially in the academic context, where a lot of pdfs are shared. I understand that this may not be the right setting to have enabled by default because it potentially uses a lot of resources, but is there a chance of bringing this back as a site setting? Or perhaps at least for locally uploaded pdfs, i.e. where the pdf doesn’t need to be downloaded?

---

_[View the full topic](https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972)._
