Re: Thumbnails not generating
| From: | Chris Blake | Date: | Tue, 15 Apr 2003 09:03:06 +0000 |
| Subject: | Re: Thumbnails not generating | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143885@lists.php.net to get a copy of this message | ||
I can`t create an image, neither does it show up in my HTML output.
The tag <img src="testimage.php"> shows up in the output, but no image
is on the page.
After opening up those two lines my phpinfo() still shows no heading
"gd"
I`ll get back to checking what packages are installed....I downloaded
and installed "jpeg-6b" as per "PHP & MySQL" manual, I see "zlib
1.1.4"
is installed (also manual recommendation)...so I guess I need to
recompile PHP using the options you mentioned.
Let me get back to the drawing board on this one. I`ll post again once
I`ve spent some time with this.
In the interim, thanks for the help.
Chris
On Tue, 2003-04-15 at 09:47, Jason Wong wrote:
> On Tuesday 15 April 2003 15:36, Chris Blake wrote:
>
> > I`ve been going through countless examples from various sites but still
> > I`m not getting an image.
>
> Please clarify what you mean by the above. You cannot create an image OR you
> can create an image but it's not displayed on your webpage?
>
> [snip]
>
> > I
ve since been thinking maybe my PHP isnt configured for
> > images as Mr.
> > Schroebel, from this list, sent me his phpinfo() output and his contains
> > a section labelled "gd", which mine doesn`t.
>
> OK
>
> > I went to php.ini and opened up the "extension = gd.so" and "extension =
> > zlib.so" entries hoping this may solve it...nadda.
>
> So after doing that, does phpinfo() give you a GD section?
>
> If not, what platform are you using?
>
> If you're using Windows then search the archives as there was some discussion
> about how to get GD working on it some time ago (within the last 2 months)
>
> If you're using some *nix system and installed from source, here's my
> configuration for PHP 4.3.0 (on RH7.3) for reference:
>
> --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr
> --with-freetype-dir=/usr --with-zlib-dir=/usr
>
> If you didn't install from source (ie RPM, PKG or whatever) then you may need
> to refer to your particular OS/distro for further info.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> He who hates vices hates mankind.
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379
Linux vs. Windows is a no WIN situation.