VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: psm on May 12, 2017, 23:35:16 PM

Title: Product details image is not resized
Post by: psm on May 12, 2017, 23:35:16 PM
Dear all,
I would like to ask you if you do not know why picture is not resized when I open details of some product? It is in full size and there is also error message:
Notice: Array to string conversion in /templates/megawebshop/html/com_virtuemart/productdetails/default.php on line 144.

I just changed something in virtuemart settings and I cannot remember what. But I tried to remove categories from product detail page when it was changed. :(

I have virtuemart version 3.2.0, php 5.4.46 and joomla 3.6.5.

Thank you very much.
Title: Re: Product details image is not resized
Post by: Jumbo! on May 13, 2017, 18:18:14 PM
These problems are created by your Joomla template. You need to contact your template developer to fix the issues.
Title: Re: Product details image is not resized
Post by: psm on May 14, 2017, 14:26:49 PM
It was problem in virtuemart productdetails/default.php code. Fortunatelly, I found backup and now it is ok. Thanks
Title: Re: Product details image is not resized
Post by: Milbo on May 15, 2017, 11:51:17 AM
yeh in the override of it, but not in the original code
Title: Re: Product details image is not resized
Post by: psm on May 15, 2017, 21:18:50 PM
Yes, I changed code and made mistake, but I did more things in the same time, so I forgot it.   ;D