Class ThumbnailUrlStore
REST store to be used in Dojo widgets to get image thumbnail URLs.
Inherited Members
Namespace: AdaptiveImages.Controllers
Assembly: AdaptiveImages.dll
Syntax
[RestStore("thumbnailurl")]
public class ThumbnailUrlStore : RestControllerBase, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Methods
Get(string, string, string, int?, int?, int?, int?, int?, int?)
Gets thumbnail URL for the addon UI, optionally cropped to represent a specific image property value
Declaration
[HttpGet]
public Task<ActionResult> Get(string provider, string imageId, string filename, int? top = null, int? left = null, int? bottom = null, int? right = null, int? proportionsX = null, int? proportionsY = null)
Parameters
Type | Name | Description |
---|---|---|
string | provider | |
string | imageId | |
string | filename | |
int? | top | |
int? | left | |
int? | bottom | |
int? | right | |
int? | proportionsX | |
int? | proportionsY |
Returns
Type | Description |
---|---|
Task<ActionResult> | JSON object with a 'url' property |