![]() |
I moved my page recently now I get this when try to upload a picture.
Any Ideas? Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/*****/public_html/forums/gdresize.php on line 9 |
I keep gettin a error.
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/squareul/public_html/forums/gdresize.php on line 5 when people are tryin to upload their pics. It gets into the photo album but with just a big X. I'm using 1.3 and line 5 in that file would be if (preg_match("/jpg|jpeg/",$system[1])){$src_img=imagecreatefromjpeg($name);} I have gdresize and everytghing. This hack worked perfectly on my old server but i recently moved to a newer one but with the same php 4.3.1 and i just get that error. Can someone help me out herrE? |
does someone want to post the code needed to allow users to add multiple pictures? :)
|
Thank you for a nice hack. I have installed with no problems.
Looking forward to the multiple uploads! Let me know if you need a tester... |
I installed this on a other server no problem.
I am trying to install on another server that dont support jpg it works ok with png buth I would rather jpg cause the file size is small and its a more common format. Any Help Please..on changeing some files to make it work? GD Support enabled GD Version bundled (2.0 compatible) FreeType Support enabled FreeType Linkage with TTF library GIF Read Support enabled PNG Support enabled WBMP Support enabled |
*bumporoonie*
|
Quote:
Thanks Steve123, I have been waiting for a long time for someone to come up with some code to do that,. Is there a way of only having the thumbnail pic in the profile instead of the full pic? Thanks again Rebel38 |
I have just checked with my host and they have said that GD is installed on my server but that it is an earlier version.
They also said that I can't have it upgraded because the earlier version allowed for more file types. Looks like I'll have to wait around until they decide to upgrade the system. |
Quote:
I offer no guarantee's, but if it helps someone my gdresize.php is attached. |
Thank's a lot. I'm just going to upload it now and give it a go!!!!
Fingers crossed<><><><><><> |
All times are GMT. The time now is 07:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|