libManager.CreateImage..creating thumbnails
Does anyone from any code on setting a thumbnail as you call the CreateImage method? I am able to upload the new image, etc...
Thanks in advance for your help
Hi Harry,
If you use the Upload method of LibrariesManager you will be able to automatically get a thumbnail generated. Bellow is the method signature:
/// <
summary
>
/// Uploads the specified content.
/// </
summary
>
/// <
param
name
=
"content"
>The content.</
param
>
/// <
param
name
=
"source"
>The source.</
param
>
/// <
param
name
=
"extension"
>The extension.</
param
>
public virtual void Upload(MediaContent content, Stream source, string extension)