*

reflexus

  • ****
  • 146 posts
Image Upload
« on: March 15, 2018, 03:29:35 PM »
Hello, wonderful plugin!

I have one suggestion, can you add image upload function for text editor?

If yes, I will immediately buy this plugin

*

MB Themes

Re: Image Upload
« Reply #1 on: March 15, 2018, 09:01:15 PM »
@reflexus
Do you mean put image into editor and automatically upload it?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Image Upload
« Reply #2 on: March 15, 2018, 09:24:11 PM »
as far as I know, the plugin uses the tinymce editor. If you see my screenshot: http://joxi.ru/K8238uJZeJKAOG and tinymce home page: https://www.tinymce.com/
in the editor there is a function for upload and inserting an image into the text area. it would be nice to add this function to the plugin.

*

MB Themes

Re: Image Upload
« Reply #3 on: March 15, 2018, 10:03:16 PM »
@reflexus
Theoretically it should be possible, must check that.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Image Upload
« Reply #4 on: March 16, 2018, 09:12:19 AM »
@reflexus
I was testing it and it's not functional, tinymce tries to save image as base64 instead of saving it on server... their documentation or code provided is probably incomplete, there is also no solution on any forums.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Image Upload
« Reply #5 on: March 17, 2018, 04:16:21 PM »
@reflexus
I was testing it and it's not functional, tinymce tries to save image as base64 instead of saving it on server... their documentation or code provided is probably incomplete, there is also no solution on any forums.

Ok, thanks, but I already built this function myself.

*

MB Themes

Re: Image Upload
« Reply #6 on: March 17, 2018, 08:40:45 PM »
@reflexus
You can share code, my attempts has failed :/
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Image Upload
« Reply #7 on: March 17, 2018, 11:40:33 PM »
@reflexus
You can share code, my attempts has failed :/

you need to look at this plugin for tinymce: http://test.albertoperipolli.com/filemanager4tinymce/

*

MB Themes

Re: Image Upload
« Reply #8 on: March 18, 2018, 09:30:08 PM »
@reflexus
Thanks, will take a look on it once I get some time.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Cambodia TVC

  • *
  • 2 posts
Re: Image Upload
« Reply #9 on: June 30, 2018, 05:53:57 PM »
This is useful for blog plugin
Can you share your work @reflexus
And mb theme please update it . It so hard to store image out of our server

*

Jack

  • **
  • 14 posts
Re: Image Upload
« Reply #10 on: November 15, 2021, 04:10:28 PM »
After so many errors 400 on my site https://www.annuncitoday.it/

The solution was quite simple, it did not load .jpeg images

In tinyMceImageUploader.php   oc-content\plugins\blog

LINE 39:
    // Verify extension
    if (!in_array(strtolower(pathinfo($temp['name'], PATHINFO_EXTENSION)), array("gif", "jpg", "png", "jpeg"))) {
        header("HTTP/1.1 400 Invalid extension.");
        return;
    }

I added , "jpeg;)


I hope it can be useful to someone

*

MB Themes

Re: Image Upload
« Reply #11 on: November 15, 2021, 07:29:01 PM »
@Jack
Thanks for feedback, we will udpate plugin ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots