JaVe 0 Report post Posted October 6, 2004 In e107, i need the gd_lib.dll or something or imagemagick. I need these to convert pictures into thumbnails. I think the gd plugin is already installed in a php installation on a webserver but i don't know the path to it. Can anyone help? Share this post Link to post Share on other sites
sanweikui 0 Report post Posted October 6, 2004 gdGD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Share this post Link to post Share on other sites
sanweikui 0 Report post Posted October 6, 2004 try this: [/br]<?php[br]Header("Content-type: image/gif");[/br]$im = imagecreate(400,30);[br]$black = ImageColorAllocate($im, 0,0,0);[/br]$white = ImageColorAllocate($im, 255,255,255);[br]imageline($im, 1, 1, 350, 25, $black);[/br]imagearc($im, 200, 15, 20, 20, 35, 190, $white);[br]imagestring($im, 5, 4, 10, "Graph TEST!!", $white);[/br]ImageGif($im);[br]ImageDestroy($im);[/br]?> Share this post Link to post Share on other sites
JaVe 0 Report post Posted October 6, 2004 Thanks, for the help, for those who know e107, e107 link, where am i meant to put that code. Share this post Link to post Share on other sites