Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?
Moderator: General Moderators
-
Dm7
- Forum Commoner
- Posts: 67
- Joined: Sat Oct 08, 2005 9:16 pm
- Location: USA
Post
by Dm7 »
oh duh..

I get it now
Code: Select all
<?php
include('functions_main.inc.php');
include('configuration.inc.php');
$im = imagecreatefromjpeg("webdesignconcept_31.jpg");
makeThumb($im);
header("Content-type:image/jpeg");
imagejpeg($thumb);
imagedestroy($thumb);
?>
But... got that error:
Code: Select all
The image “http://dm7.net/gallery/testing.php” cannot be displayed, because it contains errors.
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
again, you haven't stored the return from the function:
-
Dm7
- Forum Commoner
- Posts: 67
- Joined: Sat Oct 08, 2005 9:16 pm
- Location: USA
Post
by Dm7 »
oh duh

I'm so bad with functions... it works now. Thanks.