Thumbnails are missing for our external embeds when using topic-thumbnails

Hi, Penar, thanks for the reply.

Using

  <div class="everviz-box">
   #{get_oembed.html}
   <a class="hidden" href="https://app.everviz.com/thumbnails/#{match[:uuid]}.png"></a>
  </div>

as my to_html method, yields the following output:

  <div class="...">
    <iframe
      ...
    ></iframe>
    <a class="hidden" href="https://app.everviz.com/thumbnails/[...].png" rel="nofollow ugc noopener"></a>
  </div>

Linking an image directly, yields:

<a href="https://app.everviz.com/thumbnails/[...].png" target="_blank" rel="noopener" class="onebox">
   <img src="//localhost:3000/uploads/default/original/1X/[...].png"
        style="aspect-ratio: 690 / 459;" loading="lazy">
</a>

Making it seem like the image_onebox.rb engine is running on the input only if an image is linked outside the context of a different onebox engine.

The consequence of this is that the suggested technique does not work per now and it is necessary to link and hide an image, or modify Discourse to account for this.

Would it be an acceptable PR in this case to insert and hide an image? Or is it necessary to do something more involved?