virtuemart thumbnail file permission

file permission problem with suphp? or….

edit administrator/components/com_virtuemart/classes/imageTools.class.php

$neu = new Img2Thumb( $full_file, PSHOP_IMG_WIDTH, PSHOP_IMG_HEIGHT, $fileout, 0, 255, 255, 255 );
$thumbname = ‘resized/’.basename( $fileout );
$vmLogger->debug( ‘Finished creating the thumbnail ‘.$thumbname );

//add
@chmod($fileout, 0666 );

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.