Frontend image/pdf upload/Joomla 4.4.4
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
- ktwatson
- Joomla! Enthusiast
- Posts: 101
- Joined: Wed Jun 30, 2010 5:08 am
Frontend image/pdf upload/Joomla 4.4.4
How does a user with edit permissions upload an image or pdf for use in an article?
- Per Yngve Berg
- Joomla! Master
- Posts: 31086
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Frontend image/pdf upload/Joomla 4.4.4
Use the JCE Editor. Its easy to do there.
- ktwatson
- Joomla! Enthusiast
- Posts: 101
- Joined: Wed Jun 30, 2010 5:08 am
Re: Frontend image/pdf upload/Joomla 4.4.4
Don't see the JCE Editor choice; only TinyMCE or CodeMirror.
Last edited by ktwatson on Fri May 24, 2024 7:29 am, edited 1 time in total.
- ktwatson
- Joomla! Enthusiast
- Posts: 101
- Joined: Wed Jun 30, 2010 5:08 am
Re: Frontend image/pdf upload/Joomla 4.4.4
Thanks for the quick response. Found the JCE basic editor which works.
- ktwatson
- Joomla! Enthusiast
- Posts: 101
- Joined: Wed Jun 30, 2010 5:08 am
Re: Frontend image/pdf upload/Joomla 4.4.4
I was wrong in my last post. There is NO way to upload a pdf! Does anyone know if the Pro version will allow front end upload of pdfs?
- ceford
- Joomla! Hero
- Posts: 2794
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: Frontend image/pdf upload/Joomla 4.4.4
As a user in the Editor group using TinyMCE, I just uploaded a PDF from the frontend using the edit form CMS Content drop down list, Media item. And I inserted it too. Is your site set up to allow upload of PDFs?
- ktwatson
- Joomla! Enthusiast
- Posts: 101
- Joined: Wed Jun 30, 2010 5:08 am
Re: Frontend image/pdf upload/Joomla 4.4.4
Thank you for this response. I was able to do it there as well, so the site settings must be OK.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Apr 04, 2024 11:17 pm
Re: Frontend image/pdf upload/Joomla 4.4.4
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):
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.
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 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.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Apr 04, 2024 11:17 pm
Re: Frontend image/pdf upload/Joomla 4.4.4
Slightly off-topic: I found the above approach does not work in Joomla 5.1.1 ... and I don't know why. There's a difference between v 4.x and v 5.x: in v 4.4, if you want to embed the PDF document in a viewer, v 4.4 uses an <OBJECT>; in v 5.1.1, TinyMCE uses an <IFRAME> instead.
There are a few other tricks one has to know to use embedded PDFs in Joomla ... without resorting to third-party extensions. I've given up trying to display an embedded PDF in Joomla v 5 for the time being. I think someone broke it.
Tested satisfactorily with Joomla 4.4.5.
There are a few other tricks one has to know to use embedded PDFs in Joomla ... without resorting to third-party extensions. I've given up trying to display an embedded PDF in Joomla v 5 for the time being. I think someone broke it.
Tested satisfactorily with Joomla 4.4.5.