Post by sterikal » Sat Jul 21, 2018 2:31 am

Hi - I am struggling to find any information on this, so here goes...

Is it possible to change the size of the product thumbnails shown on a product page?

I have installed Magic Zoom Plus and it's great. It's allowed me to increase the size but I have also installed Option Image and when this is used the thumbnails revert back to the smaller size.

You can see what I mean by visiting this test product page--->http://thescarfseller.com/cart/index.ph ... duct_id=82

I hope someone can help out a newbie ;-)

Cheers
Marc

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by straightlight » Sat Jul 21, 2018 5:30 am

I have installed Magic Zoom Plus and it's great. It's allowed me to increase the size but I have also installed Option Image and when this is used the thumbnails revert back to the smaller size.
Contact the extension developer to resolved your request.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sterikal » Sat Jul 21, 2018 3:42 pm

The Zoom Image Plus mod works fine so I wasn't sure whether it was the Option Image mod or the OpenCart code that could be altered to match what the Image Zoom Plus mod was doing ???

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by sterikal » Sat Jul 21, 2018 6:18 pm

To may be make it easier, is it possible to change the size of the product thumbnail shown in both the category and product pages? If so, how?
Cheers
Marc

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by straightlight » Sat Jul 21, 2018 8:40 pm

In catalog/controller/product/category.php and catalog/controller/product/product.php files, look for: $this->tool->image->resize .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sterikal » Sat Jul 21, 2018 9:13 pm

Thanks for that.

I apologise in advance for my lack of knowledge but I've found the section that refers to the thumbnails, how do I change it to 400px in height and width?

Code: Select all

if ($product_info['image']) {
				$data['thumb'] = $this->model_tool_image->resize($product_info['image'], $this->config->get($this->config->get('config_theme') . '_image_thumb_width'), $this->config->get($this->config->get('config_theme') . '_image_thumb_height'));
			} else {
				$data['thumb'] = '';
Cheers
Marc

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by sterikal » Sun Jul 22, 2018 12:00 am

Now sorted. The thumbnail size can be changed from within the admin panel ;)

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by IP_CAM » Sun Jul 22, 2018 1:24 am

Well, that has always been the case ! :D
Good Luck!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 250 guests