Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How set ImageTransformVariants in FilePondOptions using Blazor

$
0
0

I have a project that is using FilePond to upload images. I would like to create thumbnails of the images and preserve the original. I found the documentation for ImageTransformVariants for JS, but nothing on what the object should look like for the FilePondOptions in Blazor (c#) to make it work.

Here is what I have so far.

 private readonly FilePondOptions FilePondOptions = new()     {         MaxFiles = 20,         AllowMultiple = true,         EnabledPlugins = [FilePondPluginType.ImagePreview, FilePondPluginType.ImageTransform],         ImageTransformVariantsIncludeOriginal = true,         ImageTransformVariants = //What should the passed object look like for thumbnails?     };

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>