Osclass Support Forums
Osclass plugin support => Blog and News Plugin => Topic started by: reflexus 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
-
@reflexus
Do you mean put image into editor and automatically upload it?
-
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.
-
@reflexus
Theoretically it should be possible, must check that.
-
@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.
-
@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.
-
@reflexus
You can share code, my attempts has failed :/
-
@reflexus
You can share code, my attempts has failed :/
you need to look at this plugin for tinymce: http://test.albertoperipolli.com/filemanager4tinymce/
-
@reflexus
Thanks, will take a look on it once I get some time.
-
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
-
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
-
@Jack
Thanks for feedback, we will udpate plugin ;)