You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#104194 Media Box 211 not showing pdf files

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Thursday, 07 May 2020 15:25 BST

jon599B
The following is a long line of code in my website that shows an image that when clicked brings up a pdf image of a trail map:

<div class="col-1-8">  <strong><span style="font-size: 8pt;">TRAILMAP</span></strong> <a href="https://www.joomlacontenteditor.net/TMpdf/L33TM.pdf" target="_blank" type="image/png" class="jcepopup noicon" title="TRAILMAP" data-mediabox="width[1300];height[900]"><img src="https://www.joomlacontenteditor.net/images/iconrow/topo.png" alt="trailmap" style="float: left;" title="TRAILMAP" width="75" height="75" /></a></div>

With the update from mediabox 211 from 129 this produces a frown error image. if I substitute L33TM.jpg instead of L33TM.pdf, it works fine and shows the image. Downgrading to mediabox 129 solves the issue.

Attachments

Ryan
<a href="https://www.joomlacontenteditor.net/TMpdf/L33TM.pdf" target="_blank" type="image/png"


You are setting the type as image/png, but the link is for a pdf file. Remove the type attribute.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.