Index > Contao core > Upload images via TinyMCE?
Is there a way to upload images directly from the image icon in TinyMCE?
Its not that user friendly have to go to File manager upload > select image from list in TinyMCE..?
Thanks.
Its not that user friendly have to go to File manager upload > select image from list in TinyMCE..?
Thanks.
2008-10-02 22:26
1.
if you're developing an extension, then you can simply use the file inputType to select 1 or multiple-images, it comes with its own pop-up file manager button, so you can upload (when finished it reloads the current ID being edited) and then you can select the new images. you can also specify a root folder point, so you only see the image selection window from that root point (similar to a member only seeing their own folder area).
2.
TL was primarily designed to use with mulitple fields, like the Article builder, where you add rich text in 1 field and images in another and download files in another. If you really want to add multiple images to a rich-text area like News/Events (or other single TinyMCE control area) as a gallery, follow this tutorial:
http://dev.typolight.org/wiki/TutorialsNewsGallery
3.
TinyMCE also doesn't provide image re-sizing like TL -- it just wraps the file in an IMG tag (the height and width only VISUALLY resizes the image, it could still be 2MB just displayed as a 80x60 thumnail that took 10 minutes to load). You could also try my image inserttag {{image::src=filename&width=80&height=60}} (download from repository), which something similar will be included in TL 2.6.2+
http://www.typolight.org/extension-list/tags/Image.html
if you're developing an extension, then you can simply use the file inputType to select 1 or multiple-images, it comes with its own pop-up file manager button, so you can upload (when finished it reloads the current ID being edited) and then you can select the new images. you can also specify a root folder point, so you only see the image selection window from that root point (similar to a member only seeing their own folder area).
2.
TL was primarily designed to use with mulitple fields, like the Article builder, where you add rich text in 1 field and images in another and download files in another. If you really want to add multiple images to a rich-text area like News/Events (or other single TinyMCE control area) as a gallery, follow this tutorial:
http://dev.typolight.org/wiki/TutorialsNewsGallery
3.
TinyMCE also doesn't provide image re-sizing like TL -- it just wraps the file in an IMG tag (the height and width only VISUALLY resizes the image, it could still be 2MB just displayed as a 80x60 thumnail that took 10 minutes to load). You could also try my image inserttag {{image::src=filename&width=80&height=60}} (download from repository), which something similar will be included in TL 2.6.2+
http://www.typolight.org/extension-list/tags/Image.html
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-10-03 08:27
Just when I was about to ask the same question... thanks Thyon for the leads 
I understand those options but from a usability standpoint clients might prefer another solution and this leads me to the question : wouldn't it be possible to open TL's file explorer directly from TinyMCE when you need to add an image which hasn't been uploaded yet ?
I understand those options but from a usability standpoint clients might prefer another solution and this leads me to the question : wouldn't it be possible to open TL's file explorer directly from TinyMCE when you need to add an image which hasn't been uploaded yet ?
Last edited by davidm, 2008-10-22 18:06
++ open source enthusiast, textpattern and modx veteran, typolight student ++
.: loving typolight's versatility and flexibility, impressed by reliability and security and enjoying fast development time :.
++ amazed by the Catalog/CatalogExt/Taxonomy combo and lots of high quality modules... kudos ! +++
.: loving typolight's versatility and flexibility, impressed by reliability and security and enjoying fast development time :.
++ amazed by the Catalog/CatalogExt/Taxonomy combo and lots of high quality modules... kudos ! +++
2008-10-22 18:05
I found some partial solutions (here and of course here) but I think it's a must-have for any modern CMS.
I can't code it otherwise I'd do it but one thing I can do is submit through Trac... I didn't find a reference to a feature request there.
I can't code it otherwise I'd do it but one thing I can do is submit through Trac... I didn't find a reference to a feature request there.
++ open source enthusiast, textpattern and modx veteran, typolight student ++
.: loving typolight's versatility and flexibility, impressed by reliability and security and enjoying fast development time :.
++ amazed by the Catalog/CatalogExt/Taxonomy combo and lots of high quality modules... kudos ! +++
.: loving typolight's versatility and flexibility, impressed by reliability and security and enjoying fast development time :.
++ amazed by the Catalog/CatalogExt/Taxonomy combo and lots of high quality modules... kudos ! +++
2008-10-28 18:40
login to Trac, then an option will appear NEW TICKET. in the form you have to complete, you can change it from bug-report to feature request.
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-10-28 18:46
Thanks Thyon, I have seen this, and I am a bit used to Trac
Will submit it then !
Edit : Done !
http://dev.typolight.org/ticket/303
Will submit it then !
Edit : Done !
http://dev.typolight.org/ticket/303
Last edited by davidm, 2008-11-27 10:19
++ open source enthusiast, textpattern and modx veteran, typolight student ++
.: loving typolight's versatility and flexibility, impressed by reliability and security and enjoying fast development time :.
++ amazed by the Catalog/CatalogExt/Taxonomy combo and lots of high quality modules... kudos ! +++
.: loving typolight's versatility and flexibility, impressed by reliability and security and enjoying fast development time :.
++ amazed by the Catalog/CatalogExt/Taxonomy combo and lots of high quality modules... kudos ! +++
2008-10-28 19:32
I also think that it would be much more simple and user friendly to allow users to upload a new image directly in the editor of a newsitem etc. Instead of first go to the filemanager, upload an image, then go back to the editor.
So what's the status on this request? The ticket specified (http://dev.typolight.org/ticket/303) points to another request...
So what's the status on this request? The ticket specified (http://dev.typolight.org/ticket/303) points to another request...
2009-03-31 11:07
Hi, I would also like users to be able to upload images directly in the editor.
2009-04-13 12:37
