I am attempting to include two legends within a fieldset. The first legend consists of an image in the center of the fieldset, while the other legend should be another image aligned to the very right side of the fieldset. The code snippet below demonstrates my attempt, where the first legend is functioning as intended. However, I am unsure of how to implement a second legend, as depicted in the image below.
<fieldset style="width: 500px;">
<legend style="display: block; margin: 0 auto;">
<img style="height: 200px;" src="https://i.imgur.com/3RyXECr.jpg">
</legend>
<legend style="display: block;">
<img style="height: 20px;" src="https://i.imgur.com/dOhyP62.png">
</legend>
</fieldset>