I'm having an issue with some images. I'm creating a posts web module and users are allowed to upload their images. Everything is working fine, the problem is when rendering the image. The image is uploaded in the correct orientation (portrait) but it's being rendered in landscape orientation, and as this is happening with just some of the images, I can't use css rotation to fix this or something that would affect the ones that are being rendered correctly.
<post ng-repeat="post in $ctrl.posts">
<div class="image__container">
<img ng-src="{{ post.displayImg }}" alt="{{ post.altName }}">
</div>
</post>
The uploading process is done via the firebase storage API, following the example code of the documentation, and everything is working correctly in that matter, the only issue is when rendering some of the images.
Any ideas?