Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1575

General Questions/New to Joomla! 4.x • Re: Frontend image/pdf upload/Joomla 4.4.4

$
0
0
I discovered that there are a few tricks you need to know in order to do this. As a background, I recommend reading an article in the Joomla Community Magazine: https://magazine.joomla.org/all-issues/ ... la-content. This article explains how people can use TinyMCE and either display a link to download the PDF document or embed the PDF document within a website without using any third-party extensions.

However, the article I mention does not explain the Media options (settings) that you need to have in place. These settings should have (as a minimum):
  • Path to Files Folder: images
  • Path to Images Folder: images
  • Allowed Extensions: bmp,gif,jpg,jpeg,png,webp,ico,mp3,m4a,mp4a,ogg,mp4,mp4v,mpeg,mov,odg,odp,ods,odt,pdf,png,ppt,txt,xcf,xls,csv
  • Legal Image Extensions (File Types): bmp,gif,jpg,png,jpeg,webp,svg
  • Legal Document Extensions (File Types): odg,odp,ods,odt,pdf,ppt,txt,xcf,xls,csv
  • Legal MIME Types: image/jpeg,image/gif,image/png,image/bmp,image/webp,audio/ogg,audio/mpeg,audio/mp4,video/mp4,video/webm,video/mpeg,video/quicktime,application/msword,application/excel,application/pdf,application/powerpoint,text/plain,application/x-zip
I'm not sure which of the above settings are required or whether they should all be as I've discovered them by trial and error; I tested this on two Joomla 4.4.4 websites using Cassiopeia. Works in the frontend or backend as long as the logged-in user has sufficient access permissions to edit articles.

I suppose it's possible to use JCE Editor but I haven't figured out how to do it. When people write that it's "easy" to do it, they should also explain what extra settings or changes you need to make to achieve it. It took me a couple of days to obtain the solution ... so it wasn't easy.

Statistics: Posted by mtgg — Mon May 27, 2024 10:36 pm



Viewing all articles
Browse latest Browse all 1575

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>