Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Should images be reduced before upload? View modes: 
User avatar
Member
Member
brien-anca - 9/4/2011 5:32:12 PM
   
Should images be reduced before upload?
I was just wondering if I need to advise our content authors to resize images to the desired size prior to upload (particularly for thumbnail sized images), or if Kentico's image resizing on rendering will do the work efficiently enough at the server anyway. I don't want 2MB 100x100 pixel files transfered to the browser.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 9/4/2011 6:58:36 PM
   
RE:Should images be reduced before upload?
Hello,

It depends on how you are resizing the file within Kentico. If you are using the standard parameter maxsidesize, e.g. "?maxsidesize=400" the image is physically resized and only the processing power slows down the site at the first time of the caching. If you use only css to resize the image, then you need to load the full image size and more bandwidth is used.

Best regards,
Boris Pocatko

User avatar
Member
Member
brien-anca - 9/4/2011 7:08:26 PM
   
RE:Should images be reduced before upload?
This is an example of the URL in the document

/getattachment/f4738aa0-17af-4f5f-95cd-2bd15472de50/xxx.gif.aspx?width=300&height=291

This looks like a server side resize. Is this correct?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 9/4/2011 8:51:35 PM
   
RE:Should images be reduced before upload?
Hello,

Yes, you are right. This image gets resized on the server.

Best regards,
Boris Pocatko