PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > PhotoPost Product FAQs

PhotoPost Product FAQs Answers to your most frequently asked questions about all our products.

Reply
 
Thread Tools Rate Thread Display Modes
Old March 2nd, 2004, 03:04 PM   #1
Michael P
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,833
PhotoPost Installation FAQ

VB3 ISSUES

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:

http://www.techimo.com/forum/showthr...threadid=26945

USEFUL LINKS FOR EXTERNAL APPLICATIONS

ImageMagick
http://www.imagemagick.org

ImageMagick for Windows (via ImageMagick website)
http://www.imagemagick.org/www/windows.html

ImageMagick Windows Binaries (includes beta GD2 support)
http://www.dylanbeattie.net/magick/

UNZIP (free version)
http://www.info-zip.org/pub/infozip/UnZip.html

For version 3.2:

JHEAD (Linux RPMs)
http://www.rpmfind.net/linux/rpm2htm...hp?query=jhead

JHEAD (Windows/Source)
http://www.sentex.net/~mwandel/jhead/
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PhotoPost Performance FAQ Michael P PhotoPost Product FAQs 0 October 25th, 2005 10:10 PM


All times are GMT -5. The time now is 02:54 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.