UrlHelper.ThumbPlaceholderUrl Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

ThumbPlaceholderUrl(Blob, Boolean, Boolean) Returns a placeholder url to a thumbnail image of the specified blob. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.
ThumbPlaceholderUrl(Embed, Boolean, Boolean) Returns a placeholder url to a thumbnail image of the specified Embed. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.
ThumbPlaceholderUrl(IEntity, Boolean, Boolean) Returns a placeholder url to a thumbnail image of the specified entity. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.

ThumbPlaceholderUrl(Blob, Boolean, Boolean)

Returns a placeholder url to a thumbnail image of the specified blob. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.

public static string ThumbPlaceholderUrl(this Blob blob, bool absolute = false, bool cachebust = true)

Parameters

blob
Blob
absolute
System.Boolean
cachebust
System.Boolean

Returns

System.String

ThumbPlaceholderUrl(Embed, Boolean, Boolean)

Returns a placeholder url to a thumbnail image of the specified Embed. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.

public static string ThumbPlaceholderUrl(this Embed embed, bool absolute = false, bool cachebust = true)

Parameters

embed
Embed
absolute
System.Boolean
cachebust
System.Boolean

Returns

System.String

ThumbPlaceholderUrl(IEntity, Boolean, Boolean)

Returns a placeholder url to a thumbnail image of the specified entity. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc.

public static string ThumbPlaceholderUrl(this IEntity entity, bool absolute = false, bool cachebust = true)

Parameters

entity
IEntity
absolute
System.Boolean
cachebust
System.Boolean

Returns

System.String