Embedded images with query params will not embed and any chunked image will not embed due to the sizeInBytes not being available.

Embedded images with query params will not embed and any chunked image will not embed due to the sizeInBytes not being available.

Example URL with both issues:

http://stockcharts.com/c-sc/sc?s=aapl&p=D&b=5&g=0&i=0&r=5924&.png

Updated code to handle example URL/image for embedding.