Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would be useful to prevent FIG grabbing images of sites we don't want it to (for example, if we only wanted it to grab images hosted by our own sites).
Comment | File | Size | Author |
---|---|---|---|
#1 | 0005-Ability-to-set-minimum-image-size.patch | 3.9 KB | mcboof |
Comments
Comment #1
mcboof CreditAttribution: mcboof commentedI've been having problems along these lines, mainly with small images (gravatar images, RSS logos, twitter avatars, etc). I've fixed my problems by introducing a minimum image size as it is normally very small (sub 15K images) that I don't want as they're normally pretty useless anyway.
I haven't made it a setting on the feed yet as this requires a database change. Patch attached.
Comment #2
rooby CreditAttribution: rooby commented@lightsurge:
I would use the feeds tamper module for that.
You should be able to tamper out URLs you don't want to use.
If the tamper way doesn't work out please feel free to reopen this as a D7 issue.
@mcboof:
That patch doesn't seem related to this issue (unless it is a suggestion that this issue may be solved in a similar way).
If you want that min size feature please open a new D7 issue.