Thanks for Your replies.
Yes, You right, banner will use internet, and loaded through it, sorry for confusion. But I need callback when internet is absent, and for this I need achieve a minimal file size (coz banner will load a lot of times), when CDN link will be not available.
This is additional clarification if someone need the same option.
Sorry again for misunderstanding!