Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
As far as I understood it, an SVG file by its very nature will always return the whole file, and it is scaled by the browser.
This is somewhat similar to This Question.
I have added a seperate class to support SVG.
[ContentType(GUID = "aeb5af39-64dc-49e0-a515-f186a51562b1")] [MediaDescriptor(ExtensionString = "svg")] public class VectorImageFile: ImageFile { [ImageDescriptor(Width = 180, Height = 240)] public override Blob Thumbnail240X180 { get { return base.BinaryData; } set { base.BinaryData = value; } } }
However, this returns the exact SVG file. It will not return a thumbnail which is scaled to 250*180. How to resolve this? Is this a known issue?