Added checking for allowed formats before show image. Added WebP support. Added spin while image loading.