-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Show images on RichText without setting width and height #336
Comments
Hi, Line 81 in a507cec
|
Hey, thanks for getting back to me Coil has been working fine with the default image loader, but we've tried adding a custom one and the problem still persists For example, the HTML returned from the API is: <p>A random image of some sheep...</p><p></p><p><img src="https://storage.googleapis.com/boxes-public-content-preview/0191a2bb-8415-7247-a562-df821cc73133-small"></p> Coil is loading it...
But it's not being rendered: |
Currently, only images with fixed width and height can be shown, something like this should work: <p>A random image of some sheep...</p><p></p><p><img src="https://storage.googleapis.com/boxes-public-content-preview/0191a2bb-8415-7247-a562-df821cc73133-small" width="100", height="100"></p> I will work on getting the image's width and height by default. |
Thanks! Will see if we can manipulate the HTML content in the backend to populate width/height and give it another try |
It will be available in the next release soon. |
Try the new version v1.0.0-rc07, it should be working fine now. |
With a simple sample such as:
The HTML is rendered, but images aren't loaded
The text was updated successfully, but these errors were encountered: