TinyMCE and iBrowser image uploader

January 20, 2010

Unfortunately TinyMCE doesn't come with it own image uploader so if you are using TinyMCE as your browser editor in your CMS you are probabaly also using the image iBrowser uploader and frustrated that it resizes and renames your images.

To force iBrowser to upload images at their original size and not rename them you need to edit the code in ../tiny_mce/plugins/ibroswer/config/config.inc.php.

Look for the lines:

 // set image formats 
 $cfg['thumbs'] = array (                
/*  array (                              
      'size'    => '*',        
      'ext'     => '*',         
      'crop'     => false,                  
  ),  */

And Remove the /* */ comments to include this part of the array. Now also remove the * from 'ext' so the code looks like this:

 // set image formats 
 $cfg['thumbs'] = array (                
   array (                              
      'size'    => '*',        
      'ext'     => '',         
      'crop'     => false,                  
  ),  

 

Bookmark and Share

back to article list

 

This article is the personal comment of it's author and it's accuracy is not guaranteed.

professional website design ecommerce websites SEO and PPC marketing for websites

Design

Website Design & Re-Design

Logo & Stationary Design

PSD/PNG to xHTML/CSS

Portfolio of Work

Build

Static & Dynamic Websites

Ecommerce Websites

Mobile Websites

Accessible, Usable Design

Requirements Analysis

Market

Search Engine Optimisation

Email Marketing

PPC Advertising

 

Maintain

Website Maintenance

Content Management

Domain Registration

Hosting & Email