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

Closed Public Category: Technical Support / Bugs Ticket #505

product option image size

This is a public ticket

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

Conversation

graeme colston

Hi Guys,

I am trying to find out why my option images are displaying at 100px, when my iages are 300px?

i do have a custom template loading on the menu item, but not sure where find it, I know where the files are, but through developer console, unable to findy anything relating to image size. Please can you help me display these images a bit bigger.

https://csistudio.co.za/shop/rocking-chairs/comfort-2-rocking-chair

Olivier Buisard Staff

Graeme,

the problem is not the width of the images, but the size of the column each option falls into.

You have, for instance: 

<div class="row">
    <div class="col-sm-2"> .. </div>
    <div class="col-sm-2"> .. </div>
    <div class="col-sm-2"> .. </div>
</div>

Which is 16.6% of the row width.
But in reality, each column should be 33% of the row:

<div class="row">
    <div class="col-sm-4"> .. </div>
    <div class="col-sm-4"> .. </div>
    <div class="col-sm-4"> .. </div>
</div>

You can find this code in any of the files /templates/paradise/html/com_j2store/templates/graeme/view_xxxoptions.php depending on the type of the product, and inside those files, under the 'radio' section.

Olivier.

graeme colston

Thanks, Olivier, I have no idea how to change what you suggest, this custom template was made by the previous J2Store Guys, are you able to assist to get the option images maybe double the size?

Olivier Buisard Staff

Ah wonderful!

It is looking better now for sure!

Olivier.