VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: mholly on April 02, 2009, 02:57:21 AM

Title: [FIXED] getresizedfilename
Post by: mholly on April 02, 2009, 02:57:21 AM
Hi Guys,

i noticed a small bug in VirtueMart 1.1.3.
Description:
VirtueMart won't create a thumbnail path... so i tried to figure out why.

File: ps_product.php
Line: 1367
$arr = @getimagesize( vmImageTools::getresizedfilename( $image, $path_appendix, '', $thumb_width, $thumb_height ) );
Fix:
$arr = @getimagesize( vmImageTools::getresizedfilename( $image, $path_appendix, '', $thumb_height, $thumb_width ) );

Height and Width seems to be switched.
Please refer imageTools.class.php

Sorry for bad english and for posting here. Didn't find a possibility to write a bug report.

Regards,
mholly
Title: Re: [BUG] getresizedfilename
Post by: bachelorzdb on September 17, 2009, 03:44:14 AM
Thank you so much!!

I've spend hours trying to find out why.
Title: Re: [BUG] getresizedfilename
Post by: aravot on September 21, 2009, 19:59:17 PM
Thank you fixed in 1.1.4
Title: Re: [FIXED] getresizedfilename
Post by: PRO on September 21, 2009, 20:41:52 PM
Not many people can actually be commended for a great first post.