You can use Cloudinary to get image metadata including dimensions for every image by URL, even if the image is not stored in Cloudinary. To do that use Cloudinary's explicit API with image type fetch, the image URL as the public ID and image_metadata set to true. Cloudinary will fetch the image, extract the metadata and return it in the response.
Have more questions? Submit a request