My problem in windows 2000, php 4.23
I can upload photos in PageMaster but I can't upload images in pppwslistings.
agency, agents, listing photo.
Fatal error: Call to undefined function: imagecreatefromjpeg() in d:\www\phpwebsite09\mod\phpwslistings\class\ListingBaseImage.php on line 239
For example about agents. I upload photo with error (!), but the photo is in phpwslistings/agencies folder and i don't see it in View Agent page.
I see only <img src="images/phpwslistings/agents/" width="" height="" alt=""> in view source page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have jpeg support compiled into PHP? The imagecreatefromjpeg() function is used to create thumbnails. You need to have jpeg and png support compiled into PHP, along with gd support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My problem in windows 2000, php 4.23
I can upload photos in PageMaster but I can't upload images in pppwslistings.
agency, agents, listing photo.
Fatal error: Call to undefined function: imagecreatefromjpeg() in d:\www\phpwebsite09\mod\phpwslistings\class\ListingBaseImage.php on line 239
For example about agents. I upload photo with error (!), but the photo is in phpwslistings/agencies folder and i don't see it in View Agent page.
I see only <img src="images/phpwslistings/agents/" width="" height="" alt=""> in view source page.
Do you have jpeg support compiled into PHP? The imagecreatefromjpeg() function is used to create thumbnails. You need to have jpeg and png support compiled into PHP, along with gd support.
I got this same error running the exact same setup. All I did was uncomment the
extension=php_gd2.dll
and it worked. You need GD support.
Where do yo uncomment
extension=php_gd2.dll
how do you compile jpeg support
and what is GD Support?
GD is a set of libraries for graphics manipulation. phpwsListings uses it to generate thumbnails.
Winzor should be able to tell you where to comment that line out. Like I said in the other post, I'm not familiar with PHP on Windows.
The pho.ini has this line
extension=php_gd2.dll
When I uncommented
extension=php_gd2.dll
in php.ini the site would not work at all