# Load images in gis

**URL:** <https://community.thinkgeo.com/t/load-images-in-gis/5506>\
**Category:** WebForms\
**Created:** [October 6, 2010, 11:00am UTC](https://community.thinkgeo.com/t/load-images-in-gis/5506 "2010-10-06T11:00:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/f475e1/32.png) [@sebastien](https://community.thinkgeo.com/u/sebastien)\
**Post date:** [October 6, 2010, 11:00am UTC](https://community.thinkgeo.com/t/load-images-in-gis/5506/1 "2010-10-06T11:00:42Z")

</div>

&nbsp;Question&nbsp;one&nbsp;:

&nbsp;  
i&nbsp;have&nbsp;a&nbsp;use&nbsp;case&nbsp;where&nbsp;i&nbsp;want&nbsp;to&nbsp;load&nbsp;images&nbsp;in&nbsp;the&nbsp;GIS.&nbsp;  
Potentially&nbsp;the&nbsp;size&nbsp;of&nbsp;all&nbsp;the&nbsp;images&nbsp;is&nbsp;approximatly&nbsp;500KB.  
How&nbsp;do&nbsp;you&nbsp;handle&nbsp;the&nbsp;image&nbsp;in&nbsp;the&nbsp;GIS&nbsp;?  
&nbsp;  
I&nbsp;know&nbsp;in&nbsp;http&nbsp;protocol&nbsp;the&nbsp;images&nbsp;are&nbsp;loaded&nbsp;when&nbsp;all&nbsp;the&nbsp;html&nbsp;text&nbsp;is&nbsp;displayed&nbsp;in&nbsp;the&nbsp;webBrowser,&nbsp;so&nbsp;the&nbsp;slow&nbsp;connection&nbsp;can&nbsp;navigate&nbsp;on&nbsp;the&nbsp;web&nbsp;without&nbsp;the&nbsp;images.&nbsp;  
Do&nbsp;you&nbsp;handle&nbsp;images&nbsp;as&nbsp;the&nbsp;http&nbsp;protocol&nbsp;?&nbsp;I&nbsp;explain&nbsp;myself&nbsp;a&nbsp;bit&nbsp;:  
&nbsp;  
If&nbsp;I&nbsp;want&nbsp;to&nbsp;display&nbsp;a&nbsp;google&nbsp;background&nbsp;and&nbsp;500&nbsp;KB&nbsp;of&nbsp;images.&nbsp;The&nbsp;google&nbsp;background&nbsp;will&nbsp;be&nbsp;requested&nbsp;by&nbsp;the&nbsp;client&nbsp;itself.&nbsp;The&nbsp;images&nbsp;will&nbsp;come&nbsp;from&nbsp;the&nbsp;server.&nbsp;My&nbsp;question&nbsp;is&nbsp;:&nbsp;does&nbsp;the&nbsp;google&nbsp;background&nbsp;will&nbsp;be&nbsp;loaded&nbsp;by&nbsp;the&nbsp;client&nbsp;before&nbsp;the&nbsp;images,&nbsp;and&nbsp;the&nbsp;images&nbsp;will&nbsp;be&nbsp;available&nbsp;once&nbsp;by&nbsp;once&nbsp;the&nbsp;time&nbsp;it&nbsp;is&nbsp;downloaded&nbsp;by&nbsp;the&nbsp;client&nbsp;?  
&nbsp;  
Obviously,&nbsp;for&nbsp;me&nbsp;the&nbsp;client&nbsp;is&nbsp;the&nbsp;web&nbsp;browser,&nbsp;the&nbsp;server&nbsp;is&nbsp;the&nbsp;IIS&nbsp;server.&nbsp;  
&nbsp;  
Question&nbsp;two&nbsp;:  
When&nbsp;I&nbsp;use&nbsp;GdiPlusRasterLayer&nbsp;to&nbsp;load&nbsp;images&nbsp;i&nbsp;set&nbsp;the&nbsp;imageurl.&nbsp;how&nbsp;this&nbsp;image&nbsp;is&nbsp;rendered&nbsp;to&nbsp;the&nbsp;client&nbsp;?&nbsp;i&nbsp;mean&nbsp;i&nbsp;can&nbsp;zoom&nbsp;in&nbsp;zoom&nbsp;out&nbsp;and&nbsp;the&nbsp;image&nbsp;shown&nbsp;zooms&nbsp;in&nbsp;and&nbsp;out&nbsp;accordingly.&nbsp;is&nbsp;there&nbsp;a&nbsp;server&nbsp;call&nbsp;each&nbsp;time&nbsp;so&nbsp;a&nbsp;service&nbsp;reprocess&nbsp;the&nbsp;image&nbsp;i&nbsp;previously&nbsp;set?&nbsp;or&nbsp;everything&nbsp;is&nbsp;made&nbsp;in&nbsp;the&nbsp;client&nbsp;side?  
&nbsp;  
&nbsp;  
thanks&nbsp;for&nbsp;your&nbsp;help  
&nbsp;

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [October 8, 2010, 3:07am UTC](https://community.thinkgeo.com/t/load-images-in-gis/5506/2 "2010-10-08T03:07:38Z")

</div>

&nbsp;

Sebastien,  
Yes,&nbsp;the&nbsp;images&nbsp;are&nbsp;translated&nbsp;from&nbsp;server&nbsp;to&nbsp;client&nbsp;via&nbsp;Http&nbsp;protocol.&nbsp;If&nbsp;GoogleOverlay&nbsp;is&nbsp;used,&nbsp;just&nbsp;as&nbsp;you&nbsp;have&nbsp;mentioned,&nbsp;the&nbsp;Google&nbsp;background&nbsp;images&nbsp;are&nbsp;requested&nbsp;and&nbsp;loaded&nbsp;on&nbsp;client&nbsp;side,&nbsp;but&nbsp;it’s&nbsp;hard&nbsp;to&nbsp;say&nbsp;it&nbsp;will&nbsp;be&nbsp;much&nbsp;faster&nbsp;or&nbsp;earlier&nbsp;than&nbsp;images&nbsp;loading,&nbsp;because&nbsp;the&nbsp;images&nbsp;also&nbsp;are&nbsp;requested&nbsp;and&nbsp;loaded&nbsp;on&nbsp;client&nbsp;side,&nbsp;the&nbsp;difference&nbsp;between&nbsp;them&nbsp;is&nbsp;that&nbsp;the&nbsp;GoogleOverlay&nbsp;requests&nbsp;the&nbsp;Google&nbsp;map&nbsp;servers,&nbsp;and&nbsp;the&nbsp;Images&nbsp;layer&nbsp;requests&nbsp;our&nbsp;own&nbsp;server,&nbsp;in&nbsp;your&nbsp;case,&nbsp;it&nbsp;should&nbsp;be&nbsp;IIS&nbsp;server.  
GdiPlusRasterLayer&nbsp;is&nbsp;just&nbsp;a&nbsp;processor&nbsp;used&nbsp;for&nbsp;reading&nbsp;the&nbsp;images&nbsp;and&nbsp;drawing&nbsp;new&nbsp;tile&nbsp;images&nbsp;based&nbsp;on&nbsp;current&nbsp;extent&nbsp;and&nbsp;other&nbsp;setting.&nbsp;It&nbsp;doesn’t&nbsp;take&nbsp;care&nbsp;how&nbsp;to&nbsp;send&nbsp;the&nbsp;result&nbsp;image&nbsp;to&nbsp;client&nbsp;side,&nbsp;it’s&nbsp;just&nbsp;in&nbsp;charge&nbsp;of&nbsp;accept&nbsp;the&nbsp;requests&nbsp;and&nbsp;draw&nbsp;the&nbsp;tile&nbsp;images.&nbsp;The&nbsp;WebEdition&nbsp;fetches&nbsp;the&nbsp;images&nbsp;from&nbsp;GdiPlusRasterLayer&nbsp;and&nbsp;then&nbsp;responses&nbsp;the&nbsp;images&nbsp;to&nbsp;client&nbsp;side.  
Hope&nbsp;things&nbsp;above&nbsp;can&nbsp;give&nbsp;your&nbsp;some&nbsp;helps.&nbsp;Thanks,  
Johnny
