wow. after countless hours i finally figured it out. when passing the dynamic image, i had to remove the // and only show https: before the dynamic image value.
the // was causing the issue because that is added after the image is called.