website/docs/controls/image.md
import {ClassMembers, ClassSummary, CodeExample, Image} from '@site/src/components/crocodocs';
<ClassSummary name={frontMatter.class_name} image={frontMatter.example_images + '/image_for_docs.png'} imageCaption="Basic Image" imageWidth="10%" />
<CodeExample path={frontMatter.examples + '/gallery/main.py'} language="python" />
<Image src={frontMatter.example_media + '/gallery.gif'} width="45%" />
<CodeExample path={frontMatter.examples + '/fade_in/main.py'} language="python" />
<CodeExample path={frontMatter.examples + '/src_base64_and_bytes/main.py'} language="python" />
<CodeExample path={frontMatter.examples + '/static_svg/main.py'} language="python" />
<CodeExample path={frontMatter.examples + '/dynamic_svg/main.py'} language="python" />
<CodeExample path={frontMatter.examples + '/lucide_icons/main.py'} language="python" />
This example updates both images to a new network URL on each click. With
gapless_playback set to True, the previous frame remains visible while the next
image loads. With gapless_playback set to False, the image area can
briefly be empty, causing a flicker/blink effect.
<CodeExample path={frontMatter.examples + '/gapless_playback/main.py'} language="python" />
<ClassMembers name={frontMatter.class_name} />