Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Image zoom stuck in product detail view
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Image zoom stuck in product detail view

Image zoom stuck in product detail view 7 years, 1 month ago #32089

Hi

I found a small problen.
When I search a product and then click on one of the result
In product detail view the picture is zoomed

For example
go to my site and at the search put e8067
Click on one bed in order to go to product detail view
You will notice that the product in the picture is in zoom mode

How can I fix this?
The topic has been locked.

Re: Image zoom stuck in product detail view 7 years, 1 month ago #32121

Dear zakgr

I checked it show normally not in zoom mode: prntscr.com/ehpk7r
please check your site again

Thanks
The topic has been locked.

Re: Image zoom stuck in product detail view 7 years, 1 month ago #32132

It does nto show normally
Check the photo how it is category view prnt.sc/ehw0re
The foot of the bed is not shown in product detail view
The topic has been locked.

Re: Image zoom stuck in product detail view 7 years, 1 month ago #32150

  • thuygtn
Dear sir

Please go to the file templates\sj_revo\html\com_virtuemart\productdetails\default_images.php and find:

if (!empty($this->product->images[0])) {
$imagesrcmain = YTTemplateUtils::resize($this->product->images[0]->file_url, '600', '600', 'fill');
?>
=> change fill to stretch:

if (!empty($this->product->images[0])) {
$imagesrcmain = YTTemplateUtils::resize($this->product->images[0]->file_url, '600', '600', 'stretch');
?>

Thanks
The topic has been locked.

Re: Image zoom stuck in product detail view 7 years, 1 month ago #32357

Thanks for your answer
I prefer to put fit, but there is a black line up and down in the photo.
Can I hide this black by making it white? prnt.sc/ekb2eq

or any other solution you will suggest
The topic has been locked.

Re: Image zoom stuck in product detail view 7 years, 1 month ago #32372

  • thuygtn
Dear zakgr

Please try go to Template Manager >> Content tab >> Choose Thumb background color is white
If it persist, please send your admin and ftp account in 'admin only' section when you reply

Thanks
Last Edit: 7 years, 1 month ago by .
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes