|
Haven't registered yet? Do it here now!
|
Dutch Harry
Joined: 08 Jul 2005 Posts: 28
|
|
|
|
|
|
|
Posted: Tue Apr 10, 2007 5:15 am Post subject: Image doesnt crop |
|
|
|
|
|
|
|
|
|
|
Hey Kaktus
I have GS for a while and todat i wanted to use it but i have a problem with the pictures, they doen crop
http://www.info-ezine.com/gs/feeds/feed5.xml
this is the test template i am using
<center><br>{GAL_DESCR}</center>{GAL_LDESCR}<BR>{GAL_LDESCR}
what is the problem you think?
Thanks
Harry |
|
|
|
|
|
|
|
PeterH
Joined: 01 Apr 2007 Posts: 1
|
|
|
|
|
|
|
Posted: Tue Apr 10, 2007 9:42 am Post subject: thumbs cropping |
|
|
|
|
|
|
|
|
|
|
Dutch Harry
Hi Harry.
At first thumbs wouln't crop here either.
Reason was that I had set the wrong Image Magick Location:
I used /usr/bin/
After changing it to
/usr/bin/convert
it worked perfect.
Maybe you need the same setting?
Good luck!
Peter |
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Tue Apr 10, 2007 10:12 am Post subject: |
|
|
|
|
|
|
|
|
|
|
yeah, first reason images won't crop is incorrect image magick path location. You need like /usr/bin/convert or /usr/local/bin/convert or whatever is the exact path to the "convert" program. 2nd problem might be php scripts can't execute that program, so you must consult with your host support if thats available. 3rd reason might be, the galleries be from some pretty weird type and script can't extract thumbnail from them.
Let me know... _________________
|
|
|
|
|
|
|
|
Dutch Harry
Joined: 08 Jul 2005 Posts: 28
|
|
|
|
|
|
|
Posted: Tue Apr 10, 2007 6:45 pm Post subject: No luck |
|
|
|
|
|
|
|
|
|
|
Well i have done all, i chanced the path in god knows how many options, put my domain on a different server (from a dedicated to VPS) to see if the script would work there, also no luck, i am out of options
I am trying to get this script working for hours but every time it runs into the ground for some strange reason, and i am fed up with it, maybe in a view weeks or so i may give it another shot.
Thanks anyways
Later. |
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Tue Apr 10, 2007 7:03 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hi there, well pm me url and pass to the admin section and i can take a look what might be problemable.. you might want to include and ftp info, coz that might be needed if further debugging will be needed.. _________________
|
|
|
|
|
|
|
|
boulbizor
Joined: 23 Feb 2007 Posts: 7
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 12:02 am Post subject: |
|
|
|
|
|
|
|
|
|
|
I 've got the same problem... I'm on vps server, and on server-test.php, all is green... i made a "whereis convert" and i put te correct path to /usr/local/bin/convert , but noway, images don't crop...
Any idea ? |
|
|
|
|
|
|
|
boulbizor
Joined: 23 Feb 2007 Posts: 7
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 12:09 am Post subject: |
|
|
|
|
|
|
|
|
|
|
I have the latest version of imagemagick (6.3.6) , Kaktusan what is the version used with your own Gallery Scraper ? |
|
|
|
|
|
|
|
boulbizor
Joined: 23 Feb 2007 Posts: 7
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 7:21 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Kaktusan I already have Imagemagick but, do i have to install MagickWand OR IMagick (PHP extension) to get GS work ? |
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 10:16 am Post subject: |
|
|
|
|
|
|
|
|
|
|
hey there,
well you don't need php extensions to get that working. All you need is the ImageMagic package installed on the server. GS uses the "convert" program from that package.
So, you have convert at /usr/local/bin/convert and have set it at the GS settings, but when you update a feed images still don't crop, right?
Check in your php if the exec() functions are enabled. One problem could be that, so that script can't do exec() calls.
If you have ssh access, upload by ftp some test .jpg picture to a directory, go with ssh to there and do like "/usr/local/bin/convert -resize 100x100 image.jpg"
to test if the convert works. On some host i have seen the image magic package installed without JPEG support, so it can't process .jpg images.
Try these and if no luck, pm me url and pass to GS and ftp info and i will be looking at it. _________________
|
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 5:35 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
give me a time by tomorrow to release an update for the software.
couple of more people complained that the new version stopped resizing images.. its because of a -strip option i added to the image magick command line.. so it could be the problem in your case too..
will let you know tomorrow when its fixed.. _________________
|
|
|
|
|
|
|
|
|
|
|
boulbizor
Joined: 23 Feb 2007 Posts: 7
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 9:29 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
# /usr/local/bin/convert -resize 100x100 image.jpg
convert: missing an image filename `image.jpg'.
It doesn't work
I'm sure that convert is here : /usr/local/bin/convert on ssh it returns me convert options.
But when i go on my root directory by shell, i made a ./configure on ImageMagick-6.3.6 directory it gives me follow :
Host system type : i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes no
GhostPCL None pcl6 (unknown)
Ghostscript None gs (unknown)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes no
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes no
RSVG --with-rsvg=no no
TIFF --with-tiff=yes no
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.3.6
CC = gcc
CFLAGS = -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/local/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagick -lz -lm -lpthread
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -pthread
But apparently JPEG, Gif and png are enabled, i can see it in phpinfo() in GD library |
|
|
|
|
|
|
|
boulbizor
Joined: 23 Feb 2007 Posts: 7
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 9:31 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
And about exec function all is green :
Gallery Scraper Compatibility Checks
TEST REQUIREMENT YOUR SERVER
PHP Version 4.3.0++ 5.2.0-8+etch7 - OK
Zend Optimizer Installed/Enabled Appears to be Installed & Enabled OK
Zend Optimizer Version 3.0++ 3.3.0 - OK
PHP MySQL Extension Installed/Enabled Appears to be Installed & Enabled OK
PHP cURL Extension Installed/Enabled Appears to be Installed & Enabled OK
PHP Safe Mode Disabled It is disabled - OK
PHP exec() function Enabled It is Enabled - OK
PHP output_buffering Disabled It is Disabled - OK
PHP short_open_tag Enabled It is Enabled - OK
PHP magic_quotes_sybase Disabled It is Disabled - OK
ImageMagick Installed Installed - OK |
|
|
|
|
|
|
|
boulbizor
Joined: 23 Feb 2007 Posts: 7
|
|
|
|
|
|
|
Posted: Sat Oct 20, 2007 11:14 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
ok, sorry Kaktusan, the problem was here :
JPEG v1 --with-jpeg=yes no
i reinstalled jpeg library jpeg-b6 with this parameter :
./configure --enable-shared
and now it's ok !
|
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Sun Oct 21, 2007 12:18 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
i told you it is one of those things i mentioned
glad you made it working, enjoy now _________________
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
phpBB Template designed by SkaidonDesigns |
|
| |