Reputation: 71
Hi how can i get the image(s) inserted inside a RichTextField in order to test the weight of the image ?
Thanks.
Upvotes: 1
Views: 594
Reputation: 65371
Is the image in the RichTextField? Is it not the a link to an image?
Then you need to parse the the html in the rich text field, select all the image links and then check the size of the images.
Upvotes: 1