954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

GD lib using PHP

Hai Friends
I need another clarification GD lib.
I want to create the new image using GD lib.
I user select one immage and set the dimension values and press enter the new immage the given dimension value Please send me any sample code How to create the new image using GD lib.

THANKS

vssp
Junior Poster
199 posts since Jul 2006
Reputation Points: 5
Solved Threads: 5
 

Hi vssp ,
Have you ever read the PHP Manual in LX. Image Functions section?
Clarify your question to get to the right answer.

Good luck.

mostafadotnet
Junior Poster
157 posts since Jul 2006
Reputation Points: 55
Solved Threads: 11
 

I need sample code

vssp
Junior Poster
199 posts since Jul 2006
Reputation Points: 5
Solved Threads: 5
 

Hi again,
Take a look at this:
http://www.phpfreaks.com/tutorials/105/0.php

And google before posting.:D

Good luck.

mostafadotnet
Junior Poster
157 posts since Jul 2006
Reputation Points: 55
Solved Threads: 11
 

Thanks I wll check and let u know
Vssp

vssp
Junior Poster
199 posts since Jul 2006
Reputation Points: 5
Solved Threads: 5
 

From your post it seems like you need an example of how to resize image using GD. Is it correct? Here is ready-made php script. Analyze source code and you'll get idea on how it works.

http://www.zubrag.com/scripts/thumbnail-generator.php

joelgreen
Newbie Poster
6 posts since Aug 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You