To display pdf previews in file field, I found out that pdf to image was a prerequisite to file field. Does pdf to image provide additional functionality to file entity by intent oder by accident?

See also the related issue for file entity at #2611650: When is pdf preview formatter available?

Comments

Pepe Roni created an issue. See original summary.

pepe roni’s picture

Issue summary: View changes
pepe roni’s picture

Issue summary: View changes
dman’s picture

This module is not a *prerequisite* to file field, though it does enhance or extend it.

Given your story, it is probably accurate to describe the pdf preview formatter as accidental, or at lease "incidental".

The additional file formatter that can be used to preview PDFs embedded in the page *is* provided by the PDF to Imagefield module, but only as a quiet bonus.
It was added as an example/experiment while comparing different renderers for PDFs, PDF image previews, linked PDF image previews, and other 'pager' type PDF renderers.

Although the embedded browser-based renderer works OK for some uses, I personally found it a bit limited in appearance, browser support was inconsistent and undocumented, and it needs additional work to behave well in responsive layouts. As such, it's not promoted as being a full solution, is not supported for bugs or feature requests, and is just a freebie found hidden in this module.
It's included as a reference to illustrate how crappy it is, and I sometimes turn it on for side-by-side testing.

I don't imagine there is any conflict between this renderer and file_entity, but I've not tested it either.

dman’s picture

Status: Active » Closed (works as designed)