You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that meta_inspector returns urls of images that can't be downloaded. When download_images is enabled, we can actually use FastImage to detect non-found images.
This ticket is to track several changes:
Add new option to download_image_options hash called "reject_invalid_images"
When "download_images" and "reject_invalid_images" options are enabled, we should return nil when the og:image or twitter:image can't be downloaded
When "download_images" and "fetch_all_image_meta" option is enabled, return a boolean "valid" indicating whether the image was found to be downloadable.
When new option is specified "download_images" and "reject_invalid_images"remove any invalid images since they will not be usable.
The text was updated successfully, but these errors were encountered:
ishields
changed the title
If download_images is enabled, test the owner_suggested image before returning
Use FastImage to detect images that can't be downloaded
Jun 14, 2020
I've noticed that meta_inspector returns urls of images that can't be downloaded. When download_images is enabled, we can actually use FastImage to detect non-found images.
This ticket is to track several changes:
The text was updated successfully, but these errors were encountered: