syntax = "proto3";
//flynt-disable package-matches-structure
package com.wixpress.appservice.api.upstream.wix.forms.v4.components.common;
option java_package = "com.wixpress.appservice.api.upstream.wix.forms.v4.components.common";

import "components_catalog_data/form_template/com/wixpress/appservice/api/upstream/wix/forms/v4/components/common/image_fit.proto";
import "components_catalog_data/form_template/com/wixpress/appservice/api/upstream/wix/forms/v4/components/common/image_position.proto";
import "components_catalog_data/form_template/com/wixpress/appservice/api/upstream/wix/forms/v4/components/common/alignment.proto";
import "components_catalog_data/form_template/com/wixpress/appservice/api/upstream/wix/forms/v4/components/common/number_of_columns.proto";
import "wix/api/annotations.proto";

message MediaSettings {
  option (.wix.api.decomposite_of) = "wix.forms.v4.components.common.MediaSettings";
  // Specifies where image should be displayed.
  // Default: BELOW
  components.common.ImagePositionEnum.ImagePosition image_position = 12;
  // Specifies image alignment.
  // Default: CENTER
  components.common.AlignmentEnum.Alignment image_alignment = 13;
  // Defines how an image should be resized to fit.
  // Default: COVER
  components.common.ImageFitEnum.ImageFit image_fit = 14;
}
