View Single Post
Old 11-25-2019, 09:37 AM   #7
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Vroni View Post
Hi,

i have an epub with tons of pictures. Round about 50% is just a fleuron, and all of them are the same.

The filenames are all numbered in sequence, so there is no chance to identify a picture by its name....
Is there some kind of surrounding tag that can be used to identify which image is used as a fleuron?

eg:

<div class="fleuron"><img alt="" src="../Images/01.jpg"/></div>
<div class="fleuron"><img alt="" src="../Images/02.jpg"/></div>
<div class="fleuron"><img alt="" src="../Images/15.jpg"/></div>

search: <div class="fleuron"><img alt="" src="../Images/(.*?).jpg"/></div>
replace: <div class="fleuron"><img alt="" src="../Images/fleuron.jpg"/></div>

Then run a report and delete all images that are used 0 times.
Turtle91 is offline   Reply With Quote