Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/astahost/public_html/rkrt/rkrt_tracker.php on line 186
PAGE-2: Basic Tutorial: PHP GD related to Library, Tiff, Install, Tutorial
Astahost.com   Mar 19, 2010
Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Programming > PHP
Pages: 1, 2

Basic Tutorial: PHP GD - basic tuts

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Programming > PHP

Basic Tutorial: PHP GD - basic tuts

thedevil
good tutorial but see I have a problem using GD. Coz I dont have the GD library. I visited the www.boutell.com and downloaded the GD Library but couldnot compile it for PHP. And they dont provide a DLL for PHP now...
Where Can I get the GD library? Refer me good sites for the same.

Comment/Reply (w/o sign-up)

marijnnn
ok, a short sum up on some of the question.
saving as a jpeg: he tried but forgot the filename smile.gif
imagejpeg ( $img, test.jpg , 78);
that'll do the trick
2. gd is installed on astahost. no problem. you can use it as you wish
3. installing gd on your own pc.
i guess you are using a windows machine as you mentioned dll. well, you have the dll, it's packed with php. what you need to do is find the lines that say which extensions to use.
unquote the extension that says gd.dll or gd2.dll
(you can do this by removing the ; in front of the line)
restart your iis or apache server.
done!

Comment/Reply (w/o sign-up)

r3d
php 4.9+ use gd2 which is bundled in the installation by default. but not enable by default. read marijnn's post and put the gd2.dll in windows folder also some dll is required like icon.dll you should put this dll in window folder too smile.gif

Comment/Reply (w/o sign-up)

thedevil
QUOTE (marijnnn @ Nov 19 2004, 04:12 PM)
ok, a short sum up on some of the question.
saving as a jpeg: he tried but forgot the filename smile.gif
imagejpeg ( $img, test.jpg , 78);
that'll do the trick
2. gd is installed on astahost. no problem. you can use it as you wish
3. installing gd on your own pc.
i guess you are using a windows machine as you mentioned dll. well, you have the dll, it's packed with php. what you need to do is find the lines that say which extensions to use.
unquote the extension that says gd.dll or gd2.dll
(you can do this by removing the ; in front of the line)
restart your iis or apache server.
done!
*

Thanks I will Try that...

 

 

 


Comment/Reply (w/o sign-up)

vladimir
What is actually the path for GD graphics library? I need it for my coppermine galery.

I would like to upload it manually because I'm using my own database...but I don't know the path for the GD. I have a backup of the mysql database I already used on a different server. It works fine, but just the thumbnails are not displayed.

Maybe somebody knows how to install/use GD for a coppermine picture galery? Thanks in advance for your help.

Comment/Reply (w/o sign-up)

iGuest-ableze_joepardy
How to call the image into other PHP page?
Basic Tutorial: PHP GD

Ok, I've done create a chart using GD.. And then I want to call that chart into my php page let say data.Php.. Then how to do that? I've tried using include function and even < img > tag but it just not work..

-question by ableze_joepardy

Comment/Reply (w/o sign-up)

ml01172
QUOTE(vladimir @ Dec 28 2004, 04:29 AM) *
What is actually the path for GD graphics library? I need it for my coppermine galery.

I would like to upload it manually because I'm using my own database...but I don't know the path for the GD. I have a backup of the mysql database I already used on a different server. It works fine, but just the thumbnails are not displayed.

Maybe somebody knows how to install/use GD for a coppermine picture galery? Thanks in advance for your help.


GD library isn't related to any of the user-libraries and scripts, like coppermine gallery etc., but strictly to PHP. You have to install or upgrade your PHP at the server so it contains GD.

Try doing this, for an example. Download PHP source from PHP.NET (try getting the version you already have installed) and, if you're on Linux, do the following:
1. Unpack the PHP package you got
2. Change directory into the created PHP directory.
3. Type:
./configure --with-gd
4. If configuration successfull, type:
make (not "make install", and not necessarily as root)

Once compilation process is over, look into the "modules" directory. A library with .so extension should be there so just copy it into your local "modules" directory for PHP (usually /usr/lib/php/modules or similar). Restart your web server.

Cheers

Comment/Reply (w/o sign-up)

(G)Steve
Thanks.
Basic Tutorial: PHP GD

This was very helpful for me in getting started with GD. I was wondering how to display a jpeg without having to save it as a jpeg file and this showed me. Also very simple examples of using the shape functions and how they relate to the "canvas". I can build on this in my applications. Thanks for taking the time to post this tutorial.

-reply by Steve


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : Php Gd Tuts


    Looking for php, gd, basic, tuts



See Also,

*SIMILAR VIDEOS*
Searching Video's for php, gd, basic, tuts
advertisement




Basic Tutorial: PHP GD - basic tuts

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com



Creative Commons License