Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2026, 12:57 PM   #1
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,211
Karma: 6565382
Join Date: Nov 2009
Device: many
Help Needed: Looking for test epubs with image urls in css and inline styles

Hi All,

I am trying to improve the Image Report to capture image use in both css files and in html files inside style tags and style attributes. Right now, the image count only counts usage in tags in html files and ignores any usage in css/styles.


I have code that I think will work but I would really like to more fully test it.

So I am looking for an epub that uses an image in a css file as a background (and maybe has an xhtml style tag or inline style attribute using an internal image url) to make sure the new code works.

If anyone can point me to such an epub, that I can use for testing, that would be a big help.

Thanks
KevinH is offline   Reply With Quote
Old 01-06-2026, 05:46 AM   #2
Capricorn
Belgian Pommes Frites
Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.
 
Posts: 135
Karma: 35038
Join Date: Jan 2012
Device: Pocketbook Touch HD
https://gutenberg.org/ebooks/27462 has a background url in 1.css
Maybe that fits the bill.

Capricorn
Capricorn is offline   Reply With Quote
Advert
Old 01-06-2026, 05:47 AM   #3
Capricorn
Belgian Pommes Frites
Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.
 
Posts: 135
Karma: 35038
Join Date: Jan 2012
Device: Pocketbook Touch HD
In the epub3 version with images
Capricorn is offline   Reply With Quote
Old 01-06-2026, 10:31 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,211
Karma: 6565382
Join Date: Nov 2009
Device: many
Thank you. I will give that epub a try.

Update: Yes the newer Report code found and counted the usage of that image from the css file.

Thank you!

Last edited by KevinH; 01-08-2026 at 09:43 AM.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting SVG image styles via CSS. Jim101 Sigil 11 05-09-2021 10:04 AM
[2 Bugs] + [Enhancement] Book Browser, CSS, URLs, Oh My! Tex2002ans Sigil 42 10-06-2018 08:16 AM
Getting rid of inline styles roger64 Sigil 0 12-03-2016 09:32 PM
ePub -> AZW3 bug: inline ToC gets wrong styles Phssthpok Conversion 11 07-14-2015 11:52 AM
Inline Styles and Overrides ukzembla Kindle Formats 2 01-18-2012 08:06 AM


All times are GMT -4. The time now is 01:53 AM.


MobileRead.com is a privately owned, operated and funded community.