Skip to main content

Function BILD.ERSTELLEN (IMAGE.CREATE)

This is a function that allows you to add a new image to the store with all the given parameters.

The BILD.ERSTELLEN function can be used to create a single image for a product and to define all image parameters.

=BILD.ERSTELLEN("Datei","Beschreibung",Exclude,Small,Thumbnail,Base,Custom Imagecode1,Custom Imagecode2,Custom Imagecode3)

Details

  • Datei: The location where the image can be found should be specified here. This can be specified as a local path or as a URL.

  • Beschreibung: The name of the image is specified here.

  • Image parameters (optional): They are either TRUE or FALSE. If you leave the field empty, the value FALSE is automatically assumed.

The function of the above image looks like this in Excel:

=BILD.ERSTELLEN("C:\cobby_logo.png";"The cobby logo";FALSE;TRUE;TRUE;TRUE)

As soon as you click out of the cell, the formula is converted to a JSON code and interpreted by cobby:

{
"file": "C:\\cobby_logo.png",
"label": "The cobby logo",
"position": 0,
"url": "C:\\cobby_logo.png",
"exclude": false,
"imageCodes": ["thumbnail", "small_image", "image"]
}

The interpretation of the JSON code is also displayed in the cobby Images Task Pane:

At this point, the image is only in cobby. With a click on "Save products" it is transmitted to Magento and thus transferred to the store.