craygo Posted April 10, 2008 Share Posted April 10, 2008 just for the hell of it change this line header('Content-type: image/jpeg'); to header('Content-type: image/pjpeg'); Ray Quote Link to comment https://forums.phpfreaks.com/topic/100205-how-to-create-a-thumbnail-on-the-fly/page/2/#findComment-514123 Share on other sites More sharing options...
craygo Posted April 10, 2008 Share Posted April 10, 2008 When you ran the phpinfo(), can you post a screen shot of the version and what types are supported, or just list them. Ray Quote Link to comment https://forums.phpfreaks.com/topic/100205-how-to-create-a-thumbnail-on-the-fly/page/2/#findComment-514125 Share on other sites More sharing options...
adam291086 Posted April 10, 2008 Author Share Posted April 10, 2008 GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled thats what it gives, and changing that line gave nothing Quote Link to comment https://forums.phpfreaks.com/topic/100205-how-to-create-a-thumbnail-on-the-fly/page/2/#findComment-514129 Share on other sites More sharing options...
craygo Posted April 10, 2008 Share Posted April 10, 2008 Jesus adam I'm stumped on this one. I went to your site and checked things out. I even tried http://adamplowman.co.uk/galley/image.php?maxsize=200&source=images/Picture%20001.jpg nothing. I even made sure the picture exists http://adamplowman.co.uk/galley/images/Picture%20001.jpg Everything seems right. I notices you added error_reporting(E_ALL); you can try removing that and see what happens. but this one has got me at a lose. only other thing you can try is using the absolute path. You can also try setting the permissions to 775 for the images folder. if you need help doing that let me know. Ray Quote Link to comment https://forums.phpfreaks.com/topic/100205-how-to-create-a-thumbnail-on-the-fly/page/2/#findComment-514150 Share on other sites More sharing options...
adam291086 Posted April 10, 2008 Author Share Posted April 10, 2008 this is a sodding nightmare. i have tried everything Quote Link to comment https://forums.phpfreaks.com/topic/100205-how-to-create-a-thumbnail-on-the-fly/page/2/#findComment-514170 Share on other sites More sharing options...
craygo Posted April 10, 2008 Share Posted April 10, 2008 One thing I did notice is that when the path is right to the image http://adamplowman.co.uk/galley/image.php?maxsize=200&source=images/Picture%20001.jpg i get an internal server error When the link is incorrect it just shows me the url http://adamplowman.co.uk/galley/image.php?maxsize=200&source=gallery/images/Picture%20001.jpg Might have to contact 1and1 and see if they have an answer for it Ray Quote Link to comment https://forums.phpfreaks.com/topic/100205-how-to-create-a-thumbnail-on-the-fly/page/2/#findComment-514177 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.