Personal license


  • Perpetual license (does not expire)
  • 1 site, unlimited servers
  • No distribution (hosted use only)
  • Commercial use allowed
$14.99 Read License

Developer license


  • Perpetual license (does not expire)
  • Unlimited projects
  • Can distribute code and binary products
  • Commercial use allowed
$59.99 Read License

14 Day money-back guarantee

Full refund within 14 days of purchase date.

You need to log-in or create an account
  • Create an account
  • Log-in

Please use your real name.

Activation link will be sent to this address.

Minimum 8 characters

Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(9 ratings)

TinyMCE Image Uploader & Manager

TinyMCE Image Uploader & Manager
Developed by Lionite, Released Oct 3, 2010

Upgrade your CMS with this TinyMCE image manager plugin - upload, manage and insert images into TinyMCE editor. Easy to customize and integrate.

JavaScript

Tags: image manager , image upload , tinymce , uploader

A TinyMCE image manager designed as a more minimal (and cheaper) alternative to the official image manager.

  • Gallery management - Image upload (includes multiple file upload) and image removal
  • Insert images into editor from gallery
  • Insert images from URL
  • Completely skinnable - minimal markup and simple stylesheet included
  • Written in object-oriented and uses the jQuery library for concise, easy to extend code

Requirements

Back to top

Installation

Image manager files

Extract the plug-in zip package into your TinyMCE /plugins directory. It should create a /lioniteimages directory - if not, move the files manually into that directory (/plugins/lioniteimages).

Add the image manager to the TinyMCE configuration

The plug-in name is 'lioniteimages' and needs to be added to the plug-in list:

tinyMCE.init({
    ...
    plugins : "bold,italic,underline,strikethrough,|,lioniteimages",
    ...
});

Image manager configuration

The image manager is packaged with a PHP connector which needs to be configured for the directory structure of your application. If you are using a different server-side language, you will need to port the connector to your language to use the plug-in.

To change the configuration, edit the config.php file that's inside /lioniteimages/connector/php:

// The URL that points to the upload folder on your site. 
// Can be a relative or full URL (include the protocol and domain)
$imageURL = '/demos/http/uploads';

// Full upload system path. Make sure you have write permissions to this folder
$uploadPath = '/var/www/demos/http/uploads';

The image URL value would be used in the HTML 'src' attribute of inserted images, so change it accordingly. Depending on your application, you might separate directories for different users. You can add a dynamic part to the directory names based on user identifier. For example:

$userId = Auth::getId();
$imageURL = '/uploads/' . $userId;
$uploadPath = '/var/www/project/public/uploads/' . $userId;

Authentication

In some cases you want to limit access to image management. Implement your authentication logic inside the isAuth() function.

function isAuth() {
    //Perform your own authorization to make sure user is allowed to upload
    return true; //Return true when authenticated, false when denied
}
Back to top

Troubleshooting

I cannot upload images

Make sure the value of the upload path parameter is correct and that you have permissions to write to the target directory. Also, in case you have URL rewriting that is affecting the folder containing the plugin, you need to allow requests to reach the connector by disabling rewriting inside the plugin folder (or any folder above it).

Images do not appear when inserted into the editor

Make sure that your image URL value is correct. It should be a publicly accessible directory under your document root folder. Also, if you have URL rewriting enabled (such as Apache's mod-rewrite), you might need to disable it inside the directory (using an .htaccess file with the directive 'RewriteEngine off' in Apache).

Back to top

Skinning

Changing styles and markup

The plugin styles are located in the /css/styles.css file. You can control the basic look of the plug-in from there. If you want to perform more extensive changes and add / change markup, you can edit the lioniteimages.htm file. Please make sure to leave existing classes as the Javascript functionality depends on it.

Changing images

All the icons (including the TinyMCE interface icon) are located inside the /img directory. The plugin icon used is taken from the famfamfam icon pack (/img/icon.png).

Back to top

Adding connectors

The plug-in is provided with a PHP connector. To use the plug-in with other server-side languages, you will need to translate the PHP connector scripts to your required language. If you are willing to contribute your code back to the component, I will reimburse your license fee via Paypal (even if you purchased the sublicesnable license).

Connector scripts

There are four connector scripts included with the plug-in:

  • config.php - Directory configuration and authentication logic
  • upload.php - Upload handling and thumbnail generation
  • gallery.php - Gallery generation script. Reads all uploaded files from the configured directory and builds a list of images.
  • remove.php - Image removalĀ 
View all 9 reviews »

User Reviews

  • Rob Faas 4 weeks ago
    Light weight and easy to integrate, the developer responds fast to questions and fixes issues. It's a handy, simple & user friendly image upload/manage plugin.
    Flag
    Was this helpful? Yes No
  • Diego Criscenti 8 months ago
    A bit light, but works good and really easy to integrate
    Flag
    Was this helpful? Yes No
  • Kurt Salman 1 year ago
    very nice, and easy to integrate, i have long time searched for a open source one, but this one for this price was the better way to integrate.
    Flag
    Was this helpful? Yes No
Read all 24 comments »

Questions & Comments


Or enter your name and Email
  • Raul 3 weeks ago
    Is it possible to create/delete folders with TinyMCE Image Uploader & Manager to organize the images?
  • Neelam 6 months ago
    Hi there, is it possible that this plugin can pullout data (images/video) from logged user and when finish uploading it save file attributes like filename, filetype, size, format, post id etc in database towards that logged user (basically like how wordpress manage file uploading)
    • Lionite Developer 6 months ago
      This plug-in does what is written in the description and shown in the demo. Any additional functionality is not included.
  • Sergio Minozzi License holderPersonal license 1 year ago
    Hello,
    I'm unable to see the demo working at chrome and firefox. i can not see the images at image manager an at editor. Is it working?
    All work is made without flash? I don't want use flash.
    Regards,
    Bill
    • Lionite Developer 1 year ago
      Hi Sergio,

      Thank you for bringing this issue to my attention! a change in the server configuration caused the images to stop displaying. I've fixed it, thanks again for letting me know
You must be logged-in to vote. Log-in to your account or register now.