Search

Hi,

I’ve written a piece of code which might be of interest to someone, which generates a JavaScript image list file which can be used by TinyMCE.

When you insert an image using TinyMCE, you can force it to look at a hard coded list of images.

The code utilises some directories specific to my installation, but can easily be adapted. I’ve decided to abandon this implementation myself, and utilise the TinyBrowser approach instead, but I thought this might come in handy for someone.

Generate TinyMCE JavaScript image file at pastie.org.

The code can be inserted into the extension.driver.php file within the TinyMCE extension.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details