PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   PhotoPost Product FAQs (http://www.photopost.com/forum/photopost-product-faqs/)
-   -   PhotoPost Installation FAQ (http://www.photopost.com/forum/photopost-product-faqs/102376-photopost-installation-faq.html)

Michael P March 2nd, 2004 03:04 PM

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/


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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97