Thanks for pointing out the documentation. But unfortunately that is not helpful. I had read the documentation beforehand and tried all variants. All images are always displayed squarely. To demonstrate this, I implemented the example shortcode. https://zeller-dorfhaus.de/test-instagram/
The original resolution of the images is not square.
Any other ideas to solve this problem?
I think I found the cause.
In the jquery.prettyPhoto.js program, the image parameters are recalculated using the _fitToViewport function.
Unfortunately, I can’t find any useful place to prevent this calculation. So now I’ve set the return value of height to empty.
But that is certainly not a sensible solution. Perhaps a permanent solution can be anchored in the code.
Can you help again?
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.