Problems with image format when masonry effect
Posted: 21 Jun 2022, 17:49
I wanted to use Category View - Different Thumbnail Height set to "Yes (Masonry Effect)".
The problem is that when I have images in portrait format, I can't get the detail view to work. As long as the images are landscape format everything works fine: I get the masonry effect in Category View and the images display correctly in Detail View.
But as soon as there is an image in portrait format, the Detail View doesn't work. I get the message "Image not loaded". I can display the image without problem in the backend, but not in the frontend.
An interesting detail is that if I rotate the image to landscape before I upload, and then once uploaded I rotate it back to portrait, it works. But that also takes away the masonry effect, so it's not a solution.
Maybe I'm missing some parameter setting, but I can't figure out what that would be.
I have discovered that the Phoca demo site has the same problem! See (https://www.phoca.cz/joomla3demo/category/6-cities), and try to click on the London image (Big Ben), which is in portrait format. It won't display.
I really think there is a bug here.
The problem is that when I have images in portrait format, I can't get the detail view to work. As long as the images are landscape format everything works fine: I get the masonry effect in Category View and the images display correctly in Detail View.
But as soon as there is an image in portrait format, the Detail View doesn't work. I get the message "Image not loaded". I can display the image without problem in the backend, but not in the frontend.
An interesting detail is that if I rotate the image to landscape before I upload, and then once uploaded I rotate it back to portrait, it works. But that also takes away the masonry effect, so it's not a solution.
Maybe I'm missing some parameter setting, but I can't figure out what that would be.
I have discovered that the Phoca demo site has the same problem! See (https://www.phoca.cz/joomla3demo/category/6-cities), and try to click on the London image (Big Ben), which is in portrait format. It won't display.
I really think there is a bug here.