Skip to main content

Field: Image

WL Button.Image.

Ability to selectadd aan buttonimage to content block layouts, with contentdesktop, blocks,tablet forand usemobile with resource ID, External URL, Modal or Scroll to IDcrops.


Category: Waterlogic Fields.
Content Blocks Documentation: https://docs.modmore.com/en/ContentBlocks/v1.x/Fields/Input_Types/index.htmlhtml#page_Image+%28%2B+Image+with+Title%29


WL-Button.png

Additional Settings:

WL_Button_Additional_Settings.pngimage-field.png

Settings

ButtonShow Text:Image As A Circle: TheIf textset to displayyes withinthen the this will show as a circle, default No. (See Image cropping below for best practices). 

ButtonImage Type:Alignment: Where should thisthe buttonimage linkalign go? Options:

    Resource ID - The resource ID thatwithin the buttonlayout? default to Align Centre.

    Responsive Size: At tablet and mobile viewports should linkthe to

    External URL - An external url (e.g. https://www.google.co.uk)  Modal - The IDsize of the modalimage popupbe asreduced, definedDefault into reduced.

    Image Cropping

    There is the option to set up crops on images for mobile, tablet and desktop. When an image is selected the "popup" will appear to give you the option to set these.

    image-field-crop.png

      Modal PopupFree: contentThis blockcrop allows you the full flexibility of cropping around the image.  ScrollOriginal: toThis IDcrop - The section that you would like this button to scroll to. Defined by Layouts

      Button Destination: The location where this button should go to. Relevant totakes the Buttoncurrent Typeaspect setting.

      Button Colour: The colourratio of the button.image. Default Light Blue.

      Font Size:1:1: SelectThis thecrop textwill sizeprovide froma thesquare pre-definedimage listand of sizes. Default Regular

      Font Awesome Icon: Font Awesome Icon to use to the left of the button text, see (https://fontawesome.com/icons?d=gallery) for icons that canshould be used.used Note:with docircle notimages add(see abelow).

      Font Awesome Icon if you have pointer icon position set to left.

      For Example:images Star icon (https://fontawesome.com/icons/star?style=solid)with the valuesetting Show Image As A Circle, the image crop needs to be used1:1 wouldas this creates a square image and needs to be fa-star.set for all viewports.

      Show Pointer Icon: Should the pointer icon show for this button. Default no.

      Pointer Position: If the pointer is set to show as per Show Pointer Icon setting within this field then, where should it be positioned? Note: if pointer position is left, you should not use a Font Awesome Icon.

      Alignment: What position should this sit within the layout. Left, right or centre. Default Left.image-field-crop-circle.png