mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
* fix #2536 thanks @pngwn * fix #2536 * fix #2536 * changelog Co-authored-by: pngwn <hello@pngwn.io>
This commit is contained in:
parent
be4bedbc5e
commit
cf7d44591f
@ -4,8 +4,7 @@
|
||||
No changes to highlight.
|
||||
|
||||
## Bug Fixes:
|
||||
No changes to highlight.
|
||||
|
||||
* Apply appropriate alt text to all gallery images. [@camenduru](https://github.com/camenduru) in [PR 2358](https://github.com/gradio-app/gradio/pull/2538)
|
||||
## Documentation Changes:
|
||||
No changes to highlight.
|
||||
|
||||
|
@ -190,7 +190,7 @@
|
||||
on:click={() => (selected_image = can_zoom ? i : selected_image)}
|
||||
>
|
||||
<img
|
||||
alt=""
|
||||
alt={caption || ""}
|
||||
class="h-full w-full overflow-hidden object-contain"
|
||||
src={typeof image === "string" ? image : image.data}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user