I’m working on implementing OpenGraph meta tags on a custom MVC website that uses a Kentico 11 backend, and I want to read the size dimensions of a media library image and store them in fields of a custom Page Type. I’m using the Media Selection control to allow the content creators to select an image from the Media Library, but I don’t see an easy way to also capture the image dimensions. Is there a way to capture those values as well? Right now I’m looking at adding a custom plugin using a global event handler, but I’d love it if there was a simpler way to go about it. Thanks!
↧