Show / Hide Table of Contents

Class ImageMetaData

Represents meta data for a source image.

Inheritance
object
ImageMetaData
Implements
IImageProviderAsset
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: AdaptiveImages.Providers
Assembly: AdaptiveImages.dll
Syntax
public class ImageMetaData : IImageProviderAsset

Properties

Copyright

Gets or sets copyright information for the original image.

Declaration
public virtual string? Copyright { get; set; }
Property Value
Type Description
string

Description

Gets or sets description for the original image.

Declaration
public virtual string? Description { get; set; }
Property Value
Type Description
string

Filename

Gets or sets the filename for the original image.

Declaration
public virtual string? Filename { get; set; }
Property Value
Type Description
string

Filesize

Original image file size.

Declaration
public virtual long Filesize { get; set; }
Property Value
Type Description
long

Height

Original image height in pixels.

Declaration
public virtual int Height { get; set; }
Property Value
Type Description
int

Id

Unique ID within the provider.

Declaration
public virtual string? Id { get; set; }
Property Value
Type Description
string

Keywords

Gets or sets keywords for the original image.

Declaration
public virtual IEnumerable<string>? Keywords { get; set; }
Property Value
Type Description
IEnumerable<string>

Name

Gets or sets a display name for the original image, which may or may not be the same as the filename.

Declaration
public virtual string? Name { get; set; }
Property Value
Type Description
string

Provider

Gets or sets the provider name from which the image originated.

Declaration
public virtual string? Provider { get; set; }
Property Value
Type Description
string

Thumbnail

Gets or sets thumbnail URL, e.g. used in search results.

Declaration
public virtual string? Thumbnail { get; set; }
Property Value
Type Description
string

Width

Original image width in pixels.

Declaration
public virtual int Width { get; set; }
Property Value
Type Description
int

Implements

IImageProviderAsset

Extension Methods

ImageExtensions.GetCultureSpecificImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetImageConstraints<TParent>(TParent, string)
ImageExtensions.GetImageConstraints<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetRequiredImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetSizeConstraint<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
☀
☾
In this article
Back to top
Documentation applies to: Adaptive Images 2.x
☀
☾