dotCMS / core

Headless/Hybrid Content Management System for Enterprises

Home Page:http://dotcms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF as Binary / upload field doesn't show preview

waqasakramdot opened this issue · comments

Parent Issue

No response

Problem Statement

When uploaded PDF as binary field. It doesn't show preview for it. However it shows previews for other binary data like PNG, JPEG

2024-03-22.23-08-15.mp4

Here in video the first of bug has fixed. Now the PDF/file name shows after uploading so only preview is absent

Steps to Reproduce

Create a content type for binary field
Create a contentlet for it
upload PDF
There is no preview for it

Acceptance Criteria

It must show preview for PDFa

dotCMS Version

Master [24.03.22]

Proposed Objective

Customer Support

Proposed Priority

Priority 4 - Trivial

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Internal QA approved:
Preview for PDF files is workin now for binary fields:
image

Approved: Tested on trunk_e19e615, Docker, macOS 13.0, FF v124.0.2