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 > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 5th, 2008, 09:37 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
ImageMagick Error1

I have installed ImageMagick and at shell I can use it, but if I choice imageM at photopost pro when I try to upload a photo a error message was returned:

Error creating thumbnail! Error code: 1

Command:

"/usr/local/bin/mogrify" +profile "*" -size 133x200 -quality 70 -geometry 133x200 -unsharp 10 '/var/www/vhosts/canonistas.com/httpdocs/galerias/data/500/thumbs/prova2.jpg'

I already check for permissions in data and uploads and they are all at 777

The imagemagick is installed at /usr/local/bin and in config file I put that path.
The permisions of mogrify are 755 and root owner.

What I do bad?
vigape is offline   Reply With Quote
Old February 5th, 2008, 09:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,704
if you edit image-inc.php and remove this does it work?

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 5th, 2008, 09:43 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Some information more:

When I try to put the same order at command line I receive these message:

/usr/local/bin/mogrify Cerro-Guyshu.jpg -size 133x200 -quality 70 -geometry 133x200 -unsharp 10 Cerro-Guyshu.jpg

mogrify: no decode delegate for this image format `Cerro-Guyshu.jpg'.

Some can help me?
vigape is offline   Reply With Quote
Old February 5th, 2008, 09:48 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Quote:
Originally Posted by Chuck S View Post
if you edit image-inc.php and remove this does it work?

Code:
Content visible to verified customers only.

I try it and the same error:

Error creating thumbnail! Error code: 1

Command:

"/usr/local/bin/mogrify" -size 133x200 -quality 70 -geometry 133x200 -unsharp 10 '/var/www/vhosts/canonistas.com/httpdocs/galerias/data/500/thumbs/prova2.jpg'
vigape is offline   Reply With Quote
Old February 5th, 2008, 10:04 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,704
If it does not work command line either that tells me there is an issue with either permissions on the data directory meaning it needs to be 777 at every level

data -- 500 --thumbs

You can use GD2 as global options in admin as the processor and see what happens.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 5th, 2008, 10:08 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
If I use GD2 all works fine
I see the permissions on data directory 777 in all levels

I think is a problem with mogrify
vigape is offline   Reply With Quote
Old February 5th, 2008, 10:10 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,704
Yes it would appear that way which is what I posted before if it does not work command line or through the program there appears that this was not installed correctly on the server.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 8th, 2008, 04:03 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
I try to install Image Magick again following this instruction: http://www.photopost.com/howtoinstall-php.html

And when I make:
$ cd jpeg-6b
$ ./configure --enable-shared
$ make
$ make install
$ cd ..

at make instruction, i get an error:

[root@vigape08 jpeg-6b]# make
./libtool --mode=compile gcc -O2 -I. -c ./jcapimin.c
make: ./libtool: Command not found
make: *** [jcapimin.lo] Error 127


Can help me?
vigape is offline   Reply With Quote
Old February 8th, 2008, 04:09 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
I install libtool and now the error is:

[root@vigape08 jpeg-6b]# make
./libtool --mode=compile gcc -O2 -I. -c ./jcapimin.c
make: ./libtool: Command not found
make: *** [jcapimin.lo] Error 127
[root@vigape08 jpeg-6b]#
vigape is offline   Reply With Quote
Old February 8th, 2008, 04:22 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Solved the libtool problem, I change the path in Makefile

I now try to compile ImageMagick
vigape is offline   Reply With Quote
Old February 8th, 2008, 04:34 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31



error in make of ImageMagick:

/usr/bin/ld: /usr/local/lib/libtiff.a(tif_aux.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libtiff.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [magick/libMagick.la] Error 1
make[1]: Leaving directory `/root/image/ImageMagick-6.2.3'
make: *** [all] Error 2

some help?
vigape is offline   Reply With Quote
Old February 8th, 2008, 05:06 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Finaly I configure Image-Magick with -without-tiff and I can compile and install Image-Magick.

Now Image-Magick runs.
It's a problem that my Imagemagick not support tiff library?
I only use imagemagick with jpg files.
vigape is offline   Reply With Quote
Old February 8th, 2008, 06:56 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,704
Does your imagemagick work if you set the processor to imagemagick and test it with png gif and jpg images? If so your set and yes you would just not have tiff support.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Imagemagick kuhalearthshaker Photopost Pro How Do I...? 2 June 28th, 2007 03:45 PM
GD or ImageMagick? Darkblade Before You Buy 1 July 19th, 2006 07:08 AM
No ImageMagick or GD imported_ihatetyping How Do I? - vBulletin 3.0.X 1 May 15th, 2005 09:39 AM
GD vs ImageMagick brother7 Before You Buy 5 September 14th, 2004 08:28 PM
ImageMagick asherariel Photopost Pro Installation & Upgrades 2 July 23rd, 2004 03:41 PM


All times are GMT -5. The time now is 08:12 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0