I have an embedded timeline on my website. On the previous version of twitter embed, I was able to hide the image using JQuery. But with the new twitter embed, it seems like the class names are always changing every time my website is refreshed so I can’t use jquery anymore. How would I go about removing the image on an embedded tweet? Can this still be done?

@johnvaliennte thanks for your feedback. I would love to learn more about your use case for hiding images. That is currently not supported in Timelines right now

Yes, it was just some basic jquery to hide images. Would there be other ways to hide images as of now?

Hi @johnvaliennte, there is not currently a supported way of ensuring images are not visible

1 Like

All that needs to happen is include an attribute in the container like the previous embedded code version and then you can use jQuery to manipulate.

$(".twitter-timeline").contents().find("div.timeline-Tweet-media").css("display", "none");

Love to see that be reimplemented.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.