We have seen similar behavior in a couple of instances...
First, the servlet/program has an upload file size limit built in that
the file size exceeds. A version of a servlet we used as a base a few
years ago would take large images and resize them to fit the maximum
size, which sounds similar to your resize issue (we ended up writing a
custom upload handler). Are you using an off the shelf upload receiver,
or something custom written?
The second is sometimes the image is large enough to cause ELJ to run
out of memory on the heap. In this case it seems to ignore the image.
We haven't ever seen it accept the paste of the image but not upload it
though.
Hope this helps a little!
- John
-----Original Message-----
From:
[hidden email]
[mailto:
[hidden email]] On Behalf Of Adrian
Sutton
Sent: Wednesday, December 31, 2008 4:07 AM
To:
[hidden email]
Subject: Re: [Liveworks] Large Image Upload in EditLive
The message below got accidentally missed in the moderation queue so
never made it out to the mailing list.
Sorry about that Phil.
Regards,
Adrian Sutton.
Phil Lightfoot wrote:
>
> Hello,
>
> I have a question. We're using ELJ at the National Institutes of
> Health to facilitate the authoring of research protocols from the web.
> Recently, there was an announcement that all images are being scaled
> down if they are too large. Since these are clinical protocols going
> to IRB for review, etc. we need the images to be full resolution
> (X-Rays, CAT scan, etc.). Is there a way to override this?
>
> Secondly, we've noticed a slight problem with the image upload
> functionality. If we load in a PNG, JPG, etc. that is smaller than
> the resize limit, that image uploads properly to the server, gets it's
> new unique name, and everything is great. If, however, we place a
> large image into the editor and then try to save it, it is not
> uploaded correctly, and the image comes back as the dreaded "red x".
> Here is what we currently have, and which functions correctly on
> smaller images that aren't rescaled...
>
> 1.) User pastes/loads an image.
> 2.) On save, our upload script takes the image and renames it with a
> UUID as the name, and posts back the correct URL. We also add a row
> in our database for that image attached to the user and protocol, so
> that when the user reloads EditLive, an image library of previously
> used images is built out.
>
> The above is working for smaller images. When we put in a large one
> though, part 2 doesn't happen at all. Are there any suggestions on
> what to do here?
>
> Thanks,
>
> Phil Lightfoot
>
--
View this message in context:
http://www.nabble.com/Large-Image-Upload-in-EditLive-tp21130558p21229364.html
Sent from the LiveWorks! mailing list archive at Nabble.com.
_______________________________________________
[hidden email]
List instructions at
http://liveworks.ephox.com/mailing-list/_______________________________________________
[hidden email]
List instructions at
http://liveworks.ephox.com/mailing-list/