• 0

PHP images getting cut off


Question

Im having some issues using the image functions. Some of my images work just fine and some of them get cut off toward the bottom, does anyone know why this is happening?

$blankimage = imagecreatefromjpeg("themes/Burnout/back.jpg");

imagejpeg($blankimage, $gc_local_path.rawurldecode("cards/".$path_parts['basename']), 90);

imagedestroy($blankimage);

header("Location: http://www.icp4ever.com/GamerCard/cards/&q...#036;path_parts['basename']);

http://www.icp4ever.com/GamerCard/test.php is my test page. There is a bunch more scripting but thats basicly what it does for the image part right there.

Ive just noticed that it makes the image correctly, but then when it tries to pull up the image to the browser, it cuts it off.... when i FTP the image it made to my PC, its all there and not cut off.

Edited by Deak Phreak
Link to comment
https://www.neowin.net/forum/topic/442529-php-images-getting-cut-off/
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.