News:

Looking for documentation? Take a look on our wiki

Main Menu

[FIXED] getresizedfilename

Started by mholly, April 02, 2009, 02:57:21 AM

Previous topic - Next topic

mholly

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

bachelorzdb

Thank you so much!!

I've spend hours trying to find out why.


PRO

Not many people can actually be commended for a great first post.