View Single Post
Old 10-06-2024, 03:48 PM   #17
KarlG
Connoisseur
KarlG began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Mar 2024
Device: none
Quote:
Originally Posted by DiapDealer View Post
I've not tested it, but I also think that you wouldn't be able to properly add any existing image files named like that to Sigil on any platform--including Linux. Sigil wouldn't know how to manifest it properly. I'm guessing it would end up manifested as text/plain and show up in Misc rather than Images.

You'd have to rename *.jpg files to your *.09_jpg preference only after they've been successfully added and manifested as image/jpeg in the opf.
I didn't actually add the files, I wanted to rename them temporarily because some of the filenames had 2 full-stops '.' in them and I was having trouble just replacing the first one, so I changed the second '.' to _ and that was when I noticed the issue.

I liked your suggestion earlier about using a slightly different regex though, so I'll use that for the future.
KarlG is offline   Reply With Quote