Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GlobalConstants

The following consants constants has been removed from the class MediaFormatIds

  • Video_480

  • Video_720

  • Video_1080

  • Image_JPGfullsize

  • Image_JPGbig

  • Image_JPGmedium

  • Image_JPGsmall

  • Image_PNGtransparent

  • Document_Preview

  • Document_Thumb

Media models

The following properties has been removed from our 3 media models.

  • Digizuite.Episerver.Models.Media.Image
    Note, Small, Medium and LargeThumbnail has been removed. Out of the box it will contain Preview and Thumbnail. If you need you own custom formats, then you have to extend the class. In this example we add the small quality. DFE 2.0.0 - 2 Modelling Asset Content Types

    Code Block
    languagec#
    [ContentType(GUID = "0af71ce8-1e4b-499b-bf24-24e7fce44121")] 
    [DigizuiteType(AssetTypeIds = new[] {GlobalConstants.AssetTypes.Image})]
    public class ExtendedDigiImage : Image 
    {
         [DigizuiteMediaFormat("imageSmall", "3C95F58F-5DD7-4AFB-B1C8-48E05901CE6D")]    
         public virtual Blob Small { get; set; } 
    }

  • Digizuite.Episerver.Models.Media.Video
    Note been removed.
    Poster has been removed use ImagePreview insted.

  • Digizuite.Episerver.Models.Media.DigizuiteFile
    Note has been removed.