Automatic image resizing not working

5 messages Options
Embed this post
Permalink
Rob Stoecklein

Automatic image resizing not working

Reply Threaded More More options
Print post
Permalink
The <images> Configuration File Element has two new attributes that control
automatic image resizing, preferredWidth and preferredHeight.
See
http://liveworks.ephox.com/documentation/editlive/v70/index.php?pageURL=RefHTML/addeditablesection.htm
.

I have set both of these to 640, but when an image larger than that is
uploaded it does not get resized. This is the line from my config file:

    <images allowLocalImages="true" allowUserSpecified="true"
preferredWidth="640" preferredHeight="640">

Any thoughts on what might I be doing wrong? We are using the the
Professional version of EditLive and not the Enterprise version. Could that
be the problem?

Thanks,
-Rob
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Just, Dylan

Re: Automatic image resizing not working

Reply Threaded More More options
Print post
Permalink
> I have set both of these to 640, but when an image larger than that is
> uploaded it does not get resized. This is the line from my config file:

    <images allowLocalImages="true" allowUserSpecified="true"
preferredWidth="640" preferredHeight="640">

> Any thoughts on what might I be doing wrong? We are using the the
> Professional version of EditLive and not the Enterprise version. Could that
> be the problem?

Hi Rob,
 
The automatic image resizing is available in professional edition - it helps everyone as it prevents memory issues on large images, e.g. from a digital camera.
 
It does require the Image Editor plugin, though, which is a little strange as everything else in the image editor is Enterprise Edition only. This should be in your config under <plugins> as:
<plugin name="imageEditor" />
 
It will also need to be listed in the systemplugins.xml file, but it should be there by default and you should never have to edit that file.
 
Let me know how it goes.
 
Cheers,
 
Dylan Just
Software Engineer
www.ephox.com

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Rob Stoecklein

Re: Automatic image resizing not working

Reply Threaded More More options
Print post
Permalink
Hmmm. That did not work. I put that line in the plugins, and I know the
plugins section is working because the other ones like autolink and autosave
are working. Something else? Thanks again, -Rob


On Tue, Oct 20, 2009 at 5:22 PM, Just, Dylan <[hidden email]> wrote:

> > I have set both of these to 640, but when an image larger than that is
> > uploaded it does not get resized. This is the line from my config file:
>
>    <images allowLocalImages="true" allowUserSpecified="true"
> preferredWidth="640" preferredHeight="640">
>
> > Any thoughts on what might I be doing wrong? We are using the the
> > Professional version of EditLive and not the Enterprise version. Could
> that
> > be the problem?
>
> Hi Rob,
>
> The automatic image resizing is available in professional edition - it
> helps everyone as it prevents memory issues on large images, e.g. from a
> digital camera.
>
> It does require the Image Editor plugin, though, which is a little strange
> as everything else in the image editor is Enterprise Edition only. This
> should be in your config under <plugins> as:
> <plugin name="imageEditor" />
>
> It will also need to be listed in the systemplugins.xml file, but it should
> be there by default and you should never have to edit that file.
>
> Let me know how it goes.
>
> Cheers,
>
> Dylan Just
> Software Engineer
> www.ephox.com
>
> _______________________________________________
> [hidden email]
> List instructions at http://liveworks.ephox.com/mailing-list/
>
>
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Andrew Herron-5

Re: Automatic image resizing not working

Reply Threaded More More options
Print post
Permalink
In reply to this post by Rob Stoecklein
> I have set both of these to 640, but when an image larger than that is
> uploaded it does not get resized.

It sounds like you either have an image already in the content, or  
you're inserting an image from somewhere other than the local  
filesystem.

This function only applies to local images inserted through the  
"insert local image" functions; note the wording in the documentation  
says "If the user inserts a local image" :)


Regards,
Andy

---
Andrew Herron, Senior Software Engineer
Global: +1 (650) 292 9659 x705  Australia: +61 (7) 3162 4601
Ephox <http://www.ephox.com> | Ephox Blogs <http://people.ephox.com>
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Rob Stoecklein

Re: Automatic image resizing not working

Reply Threaded More More options
Print post
Permalink
Andy,

Of course I'm inserting images from the local file system. I'm using the
Insert > Insert Local Image and Insert > Insert Image dialog box and then
uploading a local image.

There must be some other setting I'm not doing correctly. I'll keep digging
and running experiments.

-Rob

On Wed, Oct 21, 2009 at 2:47 AM, Andrew Herron <[hidden email]>wrote:

> > I have set both of these to 640, but when an image larger than that is
> > uploaded it does not get resized.
>
> It sounds like you either have an image already in the content, or
> you're inserting an image from somewhere other than the local
> filesystem.
>
> This function only applies to local images inserted through the
> "insert local image" functions; note the wording in the documentation
> says "If the user inserts a local image" :)
>
>
> Regards,
> Andy
>
> ---
> Andrew Herron, Senior Software Engineer
> Global: +1 (650) 292 9659 x705  Australia: +61 (7) 3162 4601
> Ephox <http://www.ephox.com> | Ephox Blogs <http://people.ephox.com>
> _______________________________________________
> [hidden email]
> List instructions at http://liveworks.ephox.com/mailing-list/
>
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/