PDA

View Full Version : Maximum request length exceeded


Support Team
04-10-2009, 03:14 PM
If you are seeing the following error message when attempting to upload items with images...

there was an exception running the extensions specified in the config file -->maximum request length exceeded

...chances are, your images are "too big." :)

If I take the following image...

<img src="http://resaleworld.com/images/dean_avatar_100px.png"/>

and open it with Notepad, I see a much different "view" of the image...

<img src="http://resaleworld.com/videos/dean/2009-04-10_1507.png"/>

When Liberty uploads images, it does so not by FTP (we did in fact use FTP in the past, but it's "clunky" and not truly a "secure" connectivity method), rather, as raw data. That means the image is converted to a "string" of raw data and is then sent through as an HTTP request. If that string is too long, then one will eventually receive the message outlined above.

What constitutes a "large" image? Typically, one doesn't want 3000 x whatever images, reaching into the MB in file size. Good Web design leans toward images of a very small size, so they can load quickly on users' PCs. It is possible to achieve hi-res images, while retaining a small file size. If your camera is set to its "highest" setting, chances are your images are too big - not just from a technical perspective, but from a "comfort" perspective. Shoppers/bidders aren't going to wait while your images "drip" down the page. They'll get frustrated and will move on to another site/seller.

Liberty defaults to warn you when you add images that exceed 200 KB. There really is no need to exceed that size. Even if one was taking pictures of gems or stamps, the picture might be snapped at a hi-res setting, but goal is to take that hi-res image and crop it, leaving only a "detail" view of the item.

Chances are, the "lowest" setting on your camera is MORE than enough for each of your items.

JARREDS
04-10-2009, 03:26 PM
This tool allows overlays, resizing, adding of text, etc... to images in bulk.


http://www.multipleimageresizer.net/

It is free for end users, but very cheap for commercial uses.

Support Team
04-10-2009, 03:33 PM
This tool allows overlays, resizing, adding of text, etc... to images in bulk.


http://www.multipleimageresizer.net/

It is free for end users, but very cheap for commercial uses.

***steps back from computer, slowly brings hands together in applause.*** You rock Jarred!

I like Microsoft's free Image Resizer tool (part of the Power Toys (http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx) family). I use it for quick, right-click resizes. It's available for download along with TweakUI - a must for any PC in my opinion.

Justin showed me one called Mihov Image Resizer - a totally free application, commercial and non-commercial. I believe it's a Russian gentleman that just writes app after app.

JARREDS
04-10-2009, 03:45 PM
We also have the PowerToys installed.... Power Toys Link (http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx) I agree all of the powertoys are wonderfull time savers and awesome tools to use!!!

I like MIR b/c I used Microsoft Visual Basic Studio 2008 to create a welcome screen with quicklinks to all the programs a employee will use, and I used MIR's scripting capability to have it automatically download and resize images from memory card to a 'ready' folder. And adds our logo/text to them!