Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
Just upgraded tonight - want to switch on Latest Photos - feeling my way around and looked in Control Panel gallery Settings and this message appears - I have no idea what it means - help please :-) ????

FATAL: It appears you don't have GD2 or ImageMagick6 installed. You cannot use the gallery features without one of these being installed on your system.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
You need to either have GD2 or ImageMagick6 installed.

Do you have these installed?


Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Under DB, Paths & URLS / paths & URLS - do you have 'Path to Convert:' & 'Path to Mogrify:' set if you have IM6?


Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
No I do not have either of those installed. Anyone better than the other pls? and easy to install on a windows server??

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
That is why you are getting the error wink

Personally I would go for IM6 smile

Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
Thanks Ian - do you know if it is easy )easy enough for me even) to install to a server (Windows)?

thanks!

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Yes it's pretty easy, but not exactly secure (IMHO)

You have to give CMD.EXE full rights to the Web Service account which is rather dangerous if that service gets compromised as it can then run any command it wants to against your system.

I was going to look at managing that security issue some but just never had time to get to it yet.

You can go here to download it.
ImageMagick Website

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Windows Based installs should not use IM as you are required to open cmd.exe to the webserver which would be a potential security rick to your server; so GD2 is the recommendation here.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
IS GD2 secure?!!! <worried now> and can someone tell me where to download it and is it relatively straightforward to install onto a server?

thanks guys!


Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
GD2 is secure; so is ImageMagick; however, to run IM on Windows you have to open access to cmd.exe to your webserver.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Fair enough - thanks Gizmo smile

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Quote
What is the GD library?

GD is an open source code library for the dynamic creation of images by programmers. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve web site development.

GD is written in C and various binding are available

gdLibrary Home Page

There currently are no 2.0.35 binaries available which means you'd have to compile your own.
Don't think you can or want to so you would need to install the 2.0.34 binaries

binaries index

GD2 2.0.34 Download for Windows

.

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Untested but thought I would post it here just in case.
Will attempt to test it later on if I get time.

http://www.libgd.org/FAQ_PHP#How_do_I_get_gd_to_work_with_PHP.3F

Quote
Windows

The php_gd2.dll is included in a standard PHP installation for Windows, it's not enabled by default. You have to turn it on, the user may simply uncomment the line "extension=php_gd2.dll" in php.ini and restart the PHP extension.

Change:

#extension=php_gd2.dll

To:

extension=php_gd2.dll

You may also have to correct the extension directory setting from:

extension_dir = "./"

Or:

extension_dir = "./extensions"

NOTE: SUBSTITUTE THE ACTUAL PHP INSTALLATION DIRECTORY ON *YOUR* COMPUTER.

To (FOR WINDOWS):

extension_dir = "c:/php/extensions"

Thanks to Benoit Blais for this last point. Thanks also to Alan MacDougall and Perculator.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
When I try to post as a guest using GD2, five times out of six the image only showed four or five letters/numbers out of the required six, which when the six of them displayd, it worked, but otherwise didn't work.

Does anybody here know what may be causing that?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Check the images/captcha/fonts directory and make sure that you only have .ttf files and an index.html file. If there is anything else in there, it could be treating it as one of the fonts to choose from, resulting in blank letters.

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Originally Posted by ntdoc
Untested but thought I would post it here just in case.
Will attempt to test it later on if I get time.

http://www.libgd.org/FAQ_PHP#How_do_I_get_gd_to_work_with_PHP.3F


I've installed it a few times as part of php, it's as simple as they say smile


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
"yum install php_gd" wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 476 guests, and 170 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)