Git Product home page Git Product logo

imageresize's People

Contributors

nmmf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

imageresize's Issues

Newbs Documentation?

Hi, sorry about that but I don't know what to do with this:

// Resize all images in a node: CKEDITOR.plugins.imageresize.resizeAll( CKEditor Instance, (CKEditor node object) parent container, (integer) max-width, (integer) max-height );

// Resize one image: CKEDITOR.plugins.imageresize.resize( CKEditor Instance, (CKEditor node object) image, (integer) max-width, (integer) max-height );

// Detect browser support: // returns boolean true or false CKEDITOR.plugins.imageresize.support();

where should I put it? in config.js below
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
};

which values should I replace? and if I have to replace say (CKEditor node object) image for example what is the expected format...

as you can see I have no idea how to use this despite your documentation

thanks!

config size not working

It's working fine without set my own size.

After putting:

CKEDITOR.config.imageResize.maxWidth = 800; 
CKEDITOR.config.imageResize.maxHeight = 800;

or:

config.imageResize.maxWidth = 800; 
config.imageResize.maxHeight = 800;

I've got an error in console:
config.js?t=G14E:37 Uncaught TypeError: Cannot set property 'maxWidth' of undefined(โ€ฆ)CKEDITOR.editorConfig @ config.js?t=G14E:37l @ ckeditor.js?v=1:243(anonymous function) @ ckeditor.js?v=1:243callback @ ckeditor.js?v=1:231f @ ckeditor.js?v=1:229x @ ckeditor.js?v=1:229A @ ckeditor.js?v=1:229(anonymous function) @ ckeditor.js?v=1:230

So how it should be done?

Always resizing to PNG

Hi there,
Why is all images converted to PNG images on resize?

If I upload a JPG image size 202 KB, then after resize, the file is converted to PNG and have a new size og 1.8 MB

Where do I change that?

Kind Regards,
Michael O.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.