Found the reason for the broken images, we had a filtering rule that somehow only blocked the images from one of the dialogs, still the nuget issue should be fixed.
<filteringRule name="Deny Hack3" scanUrl="false" scanQueryString="true">
<denyStrings>
<add string="/&" />
</denyStrings>
</filteringRule>