Quote:
Originally Posted by Vroni
Has someone another idea to speed this process up? Did i miss something?
|
Since you know some Python, you could use BeautifulSoup to get all image tags and PIL to get the image size. The following Edit plugin code should work for you:
It looks for images with a width of up to 50 pixels and changes the file name in the img src attribute to fleuron.jpg.
If that code catches too many false positives, you might find
KevinH's Access-Aide plugin helpful. Simply change the alt attribute of all fleurons to fleuron and then use a regex to change the file name of all images with a fleuron alt attribute.