PhotoPost Installation FAQ
While vB3 is in BETA, please refer all inquires to the PhotoPost BETA forum and be sure to check out the VB3 FAQ thread in that forum (stuck to the top).
127 ERRORS WITH MOGRIFY
8 out of 10 support questions on here deal with the path to mogrify and an error code returned when a user tries to upload a photo.
What is MOGRIFY?
MOGRIFY is an ImageMagick executable which performs many of the ImageMagick functions on a command line. PhotoPost uses MOGRIFY to resize images.
[Note: PhotoPost also uses the COMPOSITE command if the site is using watermarks on images.]
Where do I get MOGRIFY?
The ImageMagick website is http://www.imagemagick.org - on this site you will find the builds for ImageMagick as well as links to pre-compiled binaries for IM.
Windows users can get pre-compiled binaries from: http://www.dylanbeattie.net/magick/
How does PhotoPost PHP use MOGRIFY?
First, here's what happens:
1) User uploads file to the server
2) The server takes the file and copies it to the proper directory
3) The server copies to the to a -thumb file to be converted to a thumbnail
4) The server executes MOGRIFY to convert the fullsize -thumb into a thumbnail.
5) Same is repeated if a medium sized image is needed.
If you are getting a 127 error (usually indicates "file not found");
- Verify the path in $mogrify_command (in your config-inc.php file) is set to the full executable. You can check the location of mogrify on Unix/Linux systems by typing which mogrify at a command line and it will return the path
- If the path appears correct, copy the command exactly as it is written in the error message (including path) and enter it on a command-line and note what happens.
- If your ISP is running PHP in SAFE MODE, you need to consult with this thread:
USEFUL LINKS FOR EXTERNAL APPLICATIONS
ImageMagick for Windows (via ImageMagick website)
ImageMagick Windows Binaries (includes beta GD2 support)
UNZIP (free version)
For version 3.2:
JHEAD (Linux RPMs)
|All times are GMT -5. The time now is 01:59 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0