[okular] [Bug 446092] New: embedded images don't display in rendered document

Mathieu Jobin bugzilla_noreply at kde.org
Fri Nov 26 00:00:49 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=446092

            Bug ID: 446092
           Summary: embedded images don't display in rendered document
           Product: okular
           Version: 21.04.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: markdown backend
          Assignee: okular-devel at kde.org
          Reporter: opensource at somekool.net
  Target Milestone: ---

Created attachment 143950
  --> https://bugs.kde.org/attachment.cgi?id=143950&action=edit
markdown in kate with okular preview

SUMMARY

Markdown allow to embed images in document, it works very much like a link

[link text](https://image/link.png)
![embedded image](https://image/link.png)

STEPS TO REPRODUCE
1. Create a markdown with the above content.
2. load the file in Okular or Kate preview
3. embedded images should load from https, base64 or local file path

![img](!https://imgs.xkcd.com/comics/standards.png)

![Hello
World](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAUCAAAAAAVAxSkAAABrUlEQVQ4y+3TPUvDQBgH8OdDOGa+oUMgk2MpdHIIgpSUiqC0OKirgxYX8QVFRQRpBRF8KShqLbgIYkUEteCgFVuqUEVxEIkvJFhae3m8S2KbSkcFBw9yHP88+eXucgH8kQZ/jSm4VDaIy9RKCpKac9NKgU4uEJNwhHhK3qvPBVO8rxRWmFXPF+NSM1KVMbwriAMwhDgVcrxeMZm85GR0PhvGJAAmyozJsbsxgNEir4iEjIK0SYqGd8sOR3rJAGN2BCEkOxhxMhpd8Mk0CXtZacxi1hr20mI/rzgnxayoidevcGuHXTC/q6QuYSMt1jC+gBIiMg12v2vb5NlklChiWnhmFZpwvxDGzuUzV8kOg+N8UUvNBp64vy9q3UN7gDXhwWLY2nMC3zRDibfsY7wjEkY79CdMZhrxSqqzxf4ZRPXwzWJirMicDa5KwiPeARygHXKNMQHEy3rMopDR20XNZGbJzUtrwDC/KshlLDWyqdmhxZzCsdYmf2fWZPoxCEDyfIvdtNQH0PRkH6Q51g8rFO3Qzxh2LbItcDCOpmuOsV7ntNaERe3v/lP/zO8yn4N+yNPrekmPAAAAAElFTkSuQmCC)
![shrooms](~/Pictures/japan-magic-mushrooms.jpg)

OBSERVED RESULT
a white space is generated, image is not shown

EXPECTED RESULT
see images in rendered doc

SOFTWARE/OS VERSIONS
Operating System: Ubuntu 21.04
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-40-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 19.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list