Upload images with tinyMce - tinymce

I have this plugin advImage which I use in tinyMce. I want the user to be able to upload images from his own computer. However, the plugin only allows images which are on the server to be uploaded. How can I change this? If I choose an image from my desktop for uploading, the path is Content/documents/editorImages/myImage.jpg. How to change this?

This might be what you are looking for. Give it a try.
There exists a plugin named MCImageManager from the developers of tinymce, but this is not free.

Related

TinyMCE - Upload images, media and documents to your own server

I am using TinyMCE for publishing articles in some journalistic and cultural portals.
As for the media (images, audio, video, documents), everything will have to be uploaded and managed internally, without using external links to services such as YouTube and TinyPIC, which I have no control over to ascertain the permanence of the media.
I was already using the images_upload_url option for images but I cannot find a similar option for all other media or a general option that works for all media types.
For some current sites I am using the external responsivefilemanager plugin but I was hoping that in future releases of TnyMCE an internal option similar to images_upload_url would be integrated.
Is this an option I can't find or has it not yet been integrated and responsivefilemanager still needs to be used?
I recently had the same question, turns out if you are using a paid plan for TinyMCE, you could use their TinyDrive plugin & a TinyCloud account.
This allows to upload images, files and medias, plus it better integrates with their tools (ie you have a nice UI to access uploaded files by your text editor)
It may answer your need! I give you the link to their documentation: https://www.tiny.cloud/docs/tinymce/6/tinydrive-introduction/. You have a nice example on this page, to try it :
Click on the Upload icon and upload your video
Click on Insert > Media > General
Click on the Upload icon and here is your video that you can add to your text content
Have a great day,

TinyMCE 5 - Is there a way to accept only uploaded Image, using the "image" plugin?

I want to allow uploaded images only, not images linked from external websites. Is there a way to only display the "Upload" section of the "image" plugin/dialog?
The image plugin does not have a built in configuration option to do what you want. As TinyMCE is released under an open source license you could certainly modify the code of that plugin to get your desired outcome.

Plone: TinyMCE upload files

I'm trying to find a solution for files uploading directly with TinyMCE. Imagine creating a list of pdf files by uploading them using a custom button.
Is there something already done I can use? collective.clipboardupload seems to be a solution only for images.
collective.quickupload serves us well for such purposes and has a very good UI.
You can add that gadget as a portlet and make it only visible in edit-mode via CSS.
In our case we assigned the portlet to a certain content-type ('Gallery') instead to a location.
MoxieManager may be what you're looking for. It's a premium plugin made by the same developers as TinyMCE itself.
https://www.tinymce.com/docs/enterprise/manage-files-and-images/
Try to use reponsive file manager :
http://www.responsivefilemanager.com/

Save image with Tinymce

I implemented Tinymce on a website and it's being used as a content editor by the owner of the website (the content is saved in a .txt file). I would like to know if it is possible to save an image uploaded in the tinymce editor into a specific folder on the server.
Thanks!
You'll be able to choose a specific location for image uploading using the images_upload_url property. You can read more on that and our Image Uploading API here: https://www.tinymce.com/docs/configure/file-image-upload/

TinyMCE 4.3 - how to get Image Tools to save edited images as files

I don't manage to get the Image Tools plugin to actually upload the images to the server. I upload images with the jbimages plugin with no problem. But when a picture is edited with the Image Tools, although there's the uploading bar, which gets to 100%, it seems that it's only uploaded as a blob. The page calls the tinymce.activeEditor.uploadImages() function when submitting the form data, but it doesn't work.
I use the 'postacceptor.php' file from the example (defined in 'images_upload_url') and the 'images_upload_base_path' is defined as well.
The files are not uploaded to the server, and the img src remains a blob.
What could the problem be?
Thanks!
What debugging have you done in your PHP code? Is the code being triggered? Does the file appear in the posted content? You need to narrow down where in the process things are failing.
Is the issue that TinyMCE is not posting the edited image or is the issue that the image is posted and the PHP code is not properly saving the image and returning valid JSON?
How did you configure TinyMCE?
Does an edited image get posted to your server code?
What is in that form post?
If you disable the jbImages plugin does that change anything?
Without more details it will be very difficult to help you figure this out.