Double Image Card
The Double Image Card is part of the Ionic Layout Component Set. This Component places two image cards side by side on a page. Studio Users can upload images and customize the text.
Ideas for Using Double Image Card
- Highlight anything that comes in pairs. Think company leaders, co-founders, products, upcoming events, rival schools, or sports teams.
- Use the side-by-side card view to showcase important news or updates.
- The Component can quickly connect app users to critical documents, such as product information, event details, or health guidelines. Each card can be linked to a unique file stored in Documents.
- If you’re looking for text to appear below the images, check out the Double Standard Card.
Double Image Card Properties
The Double Image Card component has the following properties:
- Component Id - Sets the name of the Content Slide component in the app. The Component Id can be referenced using JavaScript to add more functionality to the app as needed.
Pro Tip: It is a best practice to use only letters without spaces for the Component Id. Symbols, spaces, and numbers are not recommended. - Spacing- Sets the distance between the two cards in pixels. Default is set to 8.
- Card Properties (Left and Right)
- Background Color - Set the background color of the card. There are two ways to set the Background Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
- Image - Upload a .JPG or .PNG to display an Image. To remove an uploaded Image, click on the Trash Can.
Pro Tip: Optimize all Images for the web to increase app performance and shorten load time. - ALT Text - Sets the text that appears if the Image fails to load. The Alt Text appears in a blank box where the Image would normally appear. It's recommend to always use Alt Text for any Images.
- Link - Sets the link to another Page in the app or an external URL.
Pro Tip: Type in tel:5558675309 to link to a phone number with "5558675309" replaced with the applicable 10-digit phone number or mailto:emailaddress to open up the default email client from the app with "emailaddress" replaced with the email address you want to be sent the email. - Open link In New Tab - Toggles on or off whether the Link opens in a new tab or not in the app.
- Headline - Enter the text as it should appear in the headline.
- Headline Text Color - Sets the color of the headline text. There are two ways to set the Text Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
- Headline Text Alignment - Sets the alignment for the headline. Choose between Left, Right, or Center.
- Headline Font Size (px) - Select the Headline Font Size in pixels.
- Headline Text Bold - Toggle on or off to display the headline text as bold. Default is set to off.
- Headline Text Italic - Toggle on or off to display the headline text as italicized. Default is set to off.
- Subheadline - Enter the text as it should appear in the subheadline.
- Subheadline Text Color - Sets the color of the subheadline text. There are two ways to set the Text Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
- Subheadline Text Alignment - Sets the alignment for the subheadline. Choose between Left, Right, or Center.
- Subheadline Font Size (px) - Select the Subheadline Font Size in pixels.
- Subheadline Text Bold - Toggle on or off to display the subheadline as bold. Default is set to off.
- Subheadline Text Italic - Toggle on or off to display the subheadline as italicized. Default is set to off.
Double Image Card Placement Settings
The Placement Settings for the Component sets which column(s) the Component will appear. Each Page of the app can have a different number of columns that are set in the Layout section of the Page Settings. The following Placement settings are available for this Component:
- Column Start - Sets the column where the Component will start.
- Column Span - Sets how many columns the Component will span.
- Padding - Sets how much space will appear on the top, bottom, left, and right of the Component. When building a Page with multiple Components, the Padding will determine the overall spacing between Components.
- Display Mode - Sets how the Component is displayed. If Both is selected, the Component will always show. Both are the default option. If Optimal is selected, the Component will only show if the browser supports the app. The main supported browsers are Chrome and Safari. If Degraded is selected, the Component will only show if the browser does not support the app. The main unsupported browser is Internet Explorer.