ProductImageUrls

Overview

The ProductImageUrls is the model used to provide the various URL's to views that render product images. This article will help you understand what's available to you in the view model.

Requirements

The following pre-requisites will be necessary to accomplish the goals of this article:

  • General understanding of template engines
  • Understanding HTML, CSS, JavaScript
  • Familiarity with template languages
  • Familiarity with ASP.NET MVC Razor

Getting Started

There are no tasks needed to get started with understanding this object. 

ProductImageUrls

The ProductImageUrls object will contain all of the details of a single instance of a product's URL's in your Hotcakes Commerce store.

Members

The following table gives you details on the various members of the ProductImageUrls object.  The descriptions are based on default functionality and the default Viewset included with Hotcakes.

Member Type Description
MediumAltText String

If available, this contains the alternate text specified for the medium-sized image.

MediumUrl String Represents the URL for the medium version of the product image, generated from the originally uploaded product image.
OriginalUrl String Represents the URL for the original version of the product image that was uploaded. If merchants are not trained or given a process to know what the original image should be, this could have unintended results in terms of file size and image dimensions.
SmallAltText String If available, this contains the alternate text specified for the small-sized image.
SmallUrl String Represents the URL for the small version of the product image, generated from the originally uploaded product image.
TinyUrl String Represents the URL for the tiny version of the product image, generated from the originally uploaded product image.

 

Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.