This is a discussion on Re: Create Thumbnail within the alt.comp.lang.php forums, part of the PHP Programming Forums category; > I'm looking for exactly the following script > http://alt-php-faq.org/local/105/. > But the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> I'm looking for exactly the following script > http://alt-php-faq.org/local/105/. > But the quality of the result is horrible. replace line $dst_img = imagecreate($new_w,$new_h); with line $dst_img = imagecreatetruecolor($new_w,$new_h); you may also build a x2 thumbnail imagecopyresized($dst_img,$src_img,0,0,0,0,$new_w* 2,$new_h*2,imagesx($src_im g),imagesy($src_img)); and display it with width=$new_w, height=$new_h Guillaume www.designerspace.com |
![]() |
| Thread Tools | |
| Display Modes | |
|
|