Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think that the CI Library Class linked below solves all of those issues and beautifully integrates with CodeIgniter.</p> <p>It has been rewritten to solve the problem of using sessions inside a plugin, instead of using it inside the controller and the configuration is setted on load, or using "setConfig", so it solves two main problems: Security and Configuration.</p> <p>So, the configuration and the security are responsibilities of the CI controller, and the image treatment is responsibility of the <a href="http://dustweb.ru/projects/tinymce_images/" rel="nofollow">Image Manager</a> (The site is in Russian, and is not related with me).</p> <p><a href="http://www.phpclasses.org/package/7971-PHP-Handle-TinyMCE-Image-Manager-image-uploads.html" rel="nofollow">Download the CI Library Class</a></p> <p>Some code improvements also are in this CI Library class:</p> <p><strong>Multilingual</strong>: Spanish, English, Russian and French.<br> The <strong>setConfig</strong> method allows to change the configuration at any time, also supports the use of your own messages.</p> <p>I use it with CodeIgniter 2.1.3. The only problem with this plugin is the doc that is inexistent.</p> <p>Controller example: <code> <pre><code>class Admin extends CI_Controller { public function __construct() { parent::__construct(); } public function mediaUpload() { // Add security checks $config = array( 'ImagesPath' =&gt; '/images/uploads', 'FilesPath' =&gt; '/images/uploads', 'Path' =&gt; '/images/uploads' ); $this-&gt;load-&gt;library('TinyImageManager', $config); } } </code></pre> <p></code></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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