func (self *ImageRef) OriginalVersionLinkedView(imageClass, linkClass string) (*view.Link, error) { image, err := self.Get() if err != nil { return nil, err } return image.OriginalVersion().LinkedView(imageClass, linkClass), nil }
func (self *ImageRef) OriginalVersion() (*ImageVersion, error) { image, err := self.Get() if err != nil { return nil, err } return image.OriginalVersion(), nil }
func (self *ImageRef) OriginalVersionView(class string) (*view.Image, error) { image, err := self.Get() if err != nil { return nil, err } return image.OriginalVersion().View(class), nil }