* fix #2536 

thanks @pngwn

* fix #2536

* fix #2536

* changelog

Co-authored-by: pngwn <hello@pngwn.io>
This commit is contained in:
camenduru 2022-10-27 16:57:39 +03:00 committed by GitHub
parent be4bedbc5e
commit cf7d44591f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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}
/>