Image
The Image Widget allows you to easily add an image to your Joomla website using the Astroid Framework. You can customize its appearance, effects, borders, and even add a link to it.
π Step 1: Add the Image Widget to the Layoutβ
- Go to your Joomla Administrator Panel
- Navigate to:
System
βSite Template Styles
β Click on your Astroid template - Click the βTemplate Optionsβ button
- Open the Layout tab
- Launch the Layout Builder
- Click the β button where you want to add an image.
- Select Image from the widget list.
βοΈ Step 2: Configure the Image Widgetβ
After adding the widget, click the βοΈ (settings) icon to open the configuration panel.
1. πΌοΈ Choose Imageβ
- Image Color Mode: Select Light or Dark.
- Light Image: Upload the image for light mode.
- Dark Image: Upload the image to be used in dark mode.
π‘ If your site doesnβt use dark mode, you only need to set the Light image.
2. π Add Image Captionβ
- Figure Caption: Optional short text displayed below the image.
3. π Add Link to the Image (Optional)β
- Use Link: Enable this if you want the image to be clickable.
- Link: Enter the destination URL (e.g.,
https://astroidframe.work
). - Target: Choose how the link opens:
- Default
- Open in new tab
- Open in parent frame
- Open in full window
4. π¨ Customize Image Styleβ
Option | Description |
---|---|
Display | Choose display type: Block, Inline, Flex, etc. |
Border Radius | Choose corner style: Rounded, Circle, Pill. |
Rounded Size | If "Rounded" is selected, pick the radius size. |
Box Shadow | Add a shadow effect around the image. |
Hover Effect | Add visual effects on hover (e.g., flash, fade-in). |
Hover Transition | Add animation such as scale, rotate, float, wobble... |
π Step 3: Assign Widget to Specific Pagesβ
You can choose where the widget will be displayed:
- All pages
- No pages
- Specific pages only β Select specific menu items
π― Example Use Casesβ
- β Add a promotional banner
- β Display a partner logo
- β Show a team or personal photo with hover effects
- β Use an image as a navigation link
β Tipsβ
- Use both light and dark images to make sure the image looks good in all modes.
- Combine hover effects and transitions to create attractive animations.