Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Open Public Category: Technical Support / Bugs Ticket #1083

All Product Images are Square - Rectangular is Required

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

J2Commerce

Version
J2Commerce v6

Conversation

Mickey Mouse

J2Commerce 6.6.4
Joomla 6.1.4

Hi there

As the title says all the images are showing as square, but they need to be rectangular. When an upright (portrait) rectangular image is uploaded J2Commerce crops the top and bottom and centers the image in a square frame. I can change the width, lets say to 275px but it also makes the height 275px rather than letting the height be whatever it needs to be, for example 350px.

This is happening on the category listing pages, the product pages and it also affects the additional images on the product page.

This was not an issue with J2Store and J2Commerce v4. Maybe I am missing a setting?

Thank you for your help.

 

 

Olivier Buisard Staff

Hi Mickey,

what are your settings in the global settings of the extension?

Go to System -> Global Configuration -> J2Commerce -> Image Upload tab.

Olivier.

Mickey Mouse

Hi

Thanks for the quick reply and sorry for my slow response.

I have looked at the settings you mentioned. As a test I changed all image sizes to 640x480, this included thumbnails and tiny image sizes. 'maintain aspect ratio' is toggled to yes. I then regenerated. This had no effect, the images were still showing as square.

So next I left the image settings as 640x480 and totally deleted the product images in the media directory /images folder. I cleared caches etc. I uploaded new photos but again they are still showing square.

Thanks for your assistance.