PHP-Code:
function _create_thumbnails($filename, $dest, $dest1, $sizes)
PHP-Code:
$thumbnail = imagecreatetruecolor('150','150' );
PHP-Code:
if( strpos(strtolower($filepath),".gif") )
PHP-Code:
if (!$image) { ... }
PHP-Code:
imagestring($image, 1, 5, 5, "Error loading $imgname", $tc);
PHP-Code:
if( strpos(strtolower($filepath),".jpg") || strpos($source_file,".jpeg") ){
PHP-Code:
imagecopyresampled($thumbnail, $image, 0, 0, 0, 0, $new_width, $new_height, $img_width, $img_height);
Du hast keine Ahnung was du da eigentlich machst, stimmts?!
Kommentar