Jump to content
xisto Community
Sign in to follow this  
JaVe

Thumbnails

Recommended Posts

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.