View Single Post
Old 09-06-2024, 09:54 AM   #23
Leilu
Member
Leilu began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2023
Device: Kindle Oasis 3 / Kobo Libra 2
Quote:
Originally Posted by Frenzie View Post
Stardict HTML with base64-encoded images is probably the easiest method. For Stardict HTML with image file paths you might need to write a custom adaptation function.
Thank you.
I didn't know about base64-encoded images.
When you say custom function, you're probably talking about this?
Would you have an existing dictionary with images as an example for me to use as inspiration? Thank you.

Edit:
I really don't understand StarDict dictionaries. As soon as my source file is more complicated than a simple tab file, I'm lost with PyGlossary. I've created dictionaries in this way in the past.
But today I'd really like to understand how to create a StarDict HTML file with css style and images. My tests and trials bring me nothing but frustration, because I can't get anywhere.

Last edited by Leilu; 09-06-2024 at 05:54 PM.
Leilu is offline   Reply With Quote