|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
PHP GD Resizing question...
Greets,
I am wondering about the use of PHP GD. I currently have a query that displays images, but somtimes they break the table widths. I was wondering if somone would be willing to show me a bit of code that would help make an image, being test.jpg at this time, resize to 200x75 pixels. I've looked at several sites but cant truly find an easy GD piece of code to use. Thanks! -Cliekid |
|
#2
|
||||
|
||||
|
If you do a search in these forums on "GD resize," you might find some useful info. I know I've posted a code snippet or two on the topic, and I'm sure others have as well. Basically, you'll create an image using one of the createimagefromXXX() functions. Then you just use the appropriate resize function and write or stream the image. There's a photo album tutorial on this site somewhere (I think it's still around) that might help as well.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > PHP GD Resizing question... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|