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.
I am trying to diagnose why I can successfully ingest images with some feeds but not others.
It seems that simple image references on sites work well, e.g.
<img src="http://imageurl">
But after much trial and error, I still cannot get FIG to pick up a reference like this:
<img class="tplengine" src="http://imageURL" ...
Does FIG only work on a simple "img src" reference?
Thanks for anyone's help on this!
Comments
Comment #1
rooby CreditAttribution: rooby commentedIt definitely should work with images that have classes & an id etc.
It uses xpath querying to get the img tag and then get its src. It shouldn't matter what other attributes the element has.
Can you possibly give a link to the page the image is on and give your settings for grabbing the image (like the ID or class used to find the image etc.)?
Comment #1.0
rooby CreditAttribution: rooby commentedmistake showing code
Comment #2
rooby CreditAttribution: rooby commentedClosing due to inactivity. Please reopen if you are still having trouble with this.