Displaying Images
Learn how to show images in your Rhyme app using the .image
action and image references.
Basic Image Display
The simplest way to display an image:
.image %logo
.image %banner
.image %profile-pic
Image Sizing
Control how big your images appear:
// Size modifiers
.image %photo -size:small
.image %photo -size:medium
.image %photo -size:large
// Full width images
.image %hero -full-width
// Thumbnail size
.image %preview -thumbnail
Image Positioning
// Alignment
.image %logo -center
.image %icon -left
.image %badge -right
// Floating images
.image %illustration -float:right
.text "This text wraps around the image"
Responsive Images
Images automatically adapt to different screen sizes:
.image %responsive-banner -responsive
Image Loading
// Lazy loading for performance
.image %large-photo -lazy
// Placeholder while loading
.image %gallery-item -placeholder:%loading
More content coming soon…