View previous topic :: View next topic |
Author |
Message |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Thu Feb 05, 2004 2:04 am Post subject: Problem with e107 |
|
|
I'm doubtful this has something to do with abyss, but i thought i'd ask anyway, just to be sure.
When i upload a photo in the profile of e107 it won't show up. It just says "no photo" in the profile. The pictures filename gets changes too, a lot of digits is added. This doesn't happen when you upload an image att e107's homepage. _________________ "Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Thu Feb 05, 2004 3:55 pm Post subject: |
|
|
Hi Exterus,
You're correct. It has nothing to do with Abyss. :wink:
First, you need to see if you have php_gd2.dll installed in your php folder.
Then, uncomment it in your php.ini to enable it.
Go to images in the admin area of e107 and make sure gd2 is selected.
Also, the latest e107 upgrade (v0.612) is available at www.e107.org . :wink: |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Feb 05, 2004 5:11 pm Post subject: |
|
|
I notice that their are 2 version of php_gd.dll in the
extensions folder , can you load both modules ? :? |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Thu Feb 05, 2004 5:58 pm Post subject: |
|
|
Hi TRUSTpunk,
GD1 had no support for real truecolor at all, so it faked it by dithering your image.
GD2 supports real truecolor, alpha channels and also has a better way of reducing to palette color. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Feb 05, 2004 7:22 pm Post subject: |
|
|
Can you create .gif and .jpg and .png with the php_gd2.dll ? |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Thu Feb 05, 2004 7:43 pm Post subject: |
|
|
Because of patent issues, gif is NOT supported. :cry: |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Feb 06, 2004 4:05 pm Post subject: |
|
|
Moxxnixx,
GIF patents only affects GIF compression. So you can legally generate uncompressed GIF files (they are gif files but with a bigger size). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
|
Back to top |
|
 |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Mon Feb 09, 2004 9:11 am Post subject: |
|
|
Quote: | php 4.3.x is available, and it includes a version of gd as "standard equipment." Your GD FAQ says: "according to rumor the self-extracting installer does not include gd for some reason; comments from those who find otherwise are welcome." In my binary installation of PHP 4.3.3, I found that php_gd2.dll is available, it's just not enabled by default. To turn it on, the user may simply uncomment the line "extension=php_gd2.dll" in php.ini. Hope this helps people who, like me, saw the FAQ entry and immediately started dreading the prospect of building everything from source -- something Windows doesn't seem to make very easy for people with little C/C++ experience. Updated 12/06/03: Windows users DO get gd included when they install the convenient self-extracting version of PHP, however they must uncomment the line extension=php_gd2.dll in the file php.ini. Thanks to Alan MacDougall for clarifying this |
That's taken from http://www.boutell.com/gd/faq.html.
Am I a complete retard, or does that mean that you only have to uncomment that line in php.ini (I have php 4.3.4)?
And if that's so, how come I get "Error 504 - Gateway Timeout" when I try to access a php-file after I saved php.ini with the new changes?
EDIT: I get a message where it say that I don't have the module "php_gd2.dll". That FAQ lied to me. :( _________________ "Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Feb 09, 2004 6:19 pm Post subject: |
|
|
what you should do is , set a path to the modules also
look up , GD in the search on this forum , I will try and
write my tutorial later today on setting on the GD Library |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Feb 09, 2004 6:40 pm Post subject: |
|
|
Exterus,
All you gotta do is download the zip package of PHP from http://www.php.net/downloads.php
Unzip it and take out the php_gd2.dll. Put it in the root directory of where PHP is installed.
Then uncomment it in your php.ini. That's all. :wink:
BTW - I answered your question you asked me on my site. :wink: |
|
Back to top |
|
 |
Exterus -
Joined: 07 Aug 2003 Posts: 69 Location: Sweden
|
Posted: Tue Feb 10, 2004 11:36 am Post subject: |
|
|
Ah. Thanks. It works, hallelujah!
But that FAQ still sucks. :) _________________ "Technological progress is like an axe in the hands of a pathological criminal."
-- Albert Einstein |
|
Back to top |
|
 |
|