* Add local images support * Swap image type check order * Fix resolving local image size, add local image to example Co-authored-by: Anton Kalinin <hurricanebox@gmail.com>