Note that there are some explanatory texts on larger screens.

plurals
  1. POAloha editor: Inserting images/pictures
    text
    copied!<p>I'm using <a href="http://aloha-editor.org/" rel="nofollow">Aloha editor</a> for editing content on a website powered by PHP and MySQL. It's working fine, but I need to be able to insert images/pictures. I found an Aloha editor plugin for that. Here are some links:</p> <ul> <li><a href="http://labs.tapo-it.com/aloha-editor/image-plugin/" rel="nofollow">http://labs.tapo-it.com/aloha-editor/image-plugin/</a></li> <li><a href="http://aloha-editor.org/wiki/ImagePlugin" rel="nofollow">http://aloha-editor.org/wiki/ImagePlugin</a></li> <li><a href="https://github.com/alohaeditor/Aloha-Plugin-Image" rel="nofollow">https://github.com/alohaeditor/Aloha-Plugin-Image</a></li> </ul> <p>There is <a href="http://labs.tapo-it.com/aloha/aloha-imageplugin/examples/example.html" rel="nofollow">an example in the first link</a>. However, I can't get the plugin running on the latest version of Aloha editor and jQuery. It fails to load and Chrome says:</p> <pre><code>image.js:30 Uncaught TypeError: Cannot read property 'fn' of undefined </code></pre> <p>I have no bloody clue what this means.</p> <p>Ideally, the user should be able to select an image from a list of images that are on the server. These are located in a single directory and also have a MySQL table for them. I suspect this is where the repository comes in, but I wasn't able to understand how to implement that.</p> <p>Has anyone had any luck using this plugin in Aloha editor, or found any other ways of inserting images?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload