Pixelated a phpBB Template by SkaidonDesigns
 
Kaktusan Corp. Support Area Forum Index
www.kaktusancorp.com
www.cheapestadultscripts.com
Play with the Best, be the Best!
Rocket Pinger
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Links Organizer
Links Organizer
Blogs Automater
Blogs Automater
Gallery Scraper
Gallery Scraper
Cheapest Web Software
Cheapest Web Software

Haven't registered yet? Do it here now!
Image doesnt crop

 
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Gallery Scraper
View previous topic :: View next topic  
Author Message
Dutch Harry



Joined: 08 Jul 2005
Posts: 28

PostPosted: Tue Apr 10, 2007 5:15 am    Post subject: Image doesnt crop Reply with quote
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
Back to top
View user's profile Send private message

Author Message
PeterH



Joined: 01 Apr 2007
Posts: 1

PostPosted: Tue Apr 10, 2007 9:42 am    Post subject: thumbs cropping Reply with quote
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
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Tue Apr 10, 2007 10:12 am    Post subject: Reply with quote
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...
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
Dutch Harry



Joined: 08 Jul 2005
Posts: 28

PostPosted: Tue Apr 10, 2007 6:45 pm    Post subject: No luck Reply with quote
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.
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Tue Apr 10, 2007 7:03 pm    Post subject: Reply with quote
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..
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
boulbizor



Joined: 23 Feb 2007
Posts: 7

PostPosted: Sat Oct 20, 2007 12:02 am    Post subject: Reply with quote
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 ?
Back to top
View user's profile Send private message

Author Message
boulbizor



Joined: 23 Feb 2007
Posts: 7

PostPosted: Sat Oct 20, 2007 12:09 am    Post subject: Reply with quote
I have the latest version of imagemagick (6.3.6) , Kaktusan what is the version used with your own Gallery Scraper ?
Back to top
View user's profile Send private message

Author Message
boulbizor



Joined: 23 Feb 2007
Posts: 7

PostPosted: Sat Oct 20, 2007 7:21 am    Post subject: Reply with quote
Kaktusan I already have Imagemagick but, do i have to install MagickWand OR IMagick (PHP extension) to get GS work ?
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Sat Oct 20, 2007 10:16 am    Post subject: Reply with quote
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.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Sat Oct 20, 2007 5:35 pm    Post subject: Reply with quote
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..
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
boulbizor



Joined: 23 Feb 2007
Posts: 7

PostPosted: Sat Oct 20, 2007 9:29 pm    Post subject: Reply with quote
# /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
Back to top
View user's profile Send private message

Author Message
boulbizor



Joined: 23 Feb 2007
Posts: 7

PostPosted: Sat Oct 20, 2007 9:31 pm    Post subject: Reply with quote
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
Back to top
View user's profile Send private message

Author Message
boulbizor



Joined: 23 Feb 2007
Posts: 7

PostPosted: Sat Oct 20, 2007 11:14 pm    Post subject: Reply with quote
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 !


Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Sun Oct 21, 2007 12:18 pm    Post subject: Reply with quote
i told you it is one of those things i mentioned Smile

glad you made it working, enjoy now Smile
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Gallery Scraper All times are GMT
Page 1 of 1

 
Jump to:  
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