- Posts: 4
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- More thumbnail woes.... Mostly resolved!
More thumbnail woes.... Mostly resolved!
- bsdboy
- Topic Author
- Offline
- New Member
Unfortunately thumbnails do not seem to work for me much like many others. I'm running opensolaris (Not shared, all mine :-) ), GD is enabled, perms seem to be correct, I checked the page source and only two .js calls are made and they belong to this plugin. I'm using a freshly installed Joomla 1.0.13.
I started out with IMAGE.JPG, them renamed to image.jpg, then converted it to image.png. None of which would produce a thumbnail.
Here is some further info that hopefully will help. I've got a feeling that showthumb.php might need some work, not entirely sure. Hopefully someone here might be able to shed some light.
Thanks!
bash-3.00# uname -a
SunOS sunboy 5.11 snv_67 i86pc i386 i86pc
bash-3.00#
bash-3.00# /usr/local/apache/bin/apachectl -v
Server version: Apache/2.2.4 (Unix)
Server built: Jul 11 2007 20:58:04
bash-3.00#
bash-3.00# /usr/local/php/bin/php -v
PHP 5.2.3 (cli) (built: Jul 10 2007 06:53:32)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
bash-3.00#
bash-3.00# /usr/local/php/bin/php -i |egrep -i gd
Configure Command => './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php' '--with-zlib' '--with-gettext' '--with-gdbm' '--with-gd' '--enable-mbstring' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
Supported handlers => gdbm
gd
GD Support => enabled
GD Version => bundled (2.0.34 compatible)
bash-3.00#
bash-3.00# ls -laF |egrep plugin_jw_sig
drwxr-xr-x 2 daemon daemon 512 Jul 22 20:04 plugin_jw_sig/
-rwxr-xr-x 1 daemon daemon 4166 Jul 22 19:14 plugin_jw_sig.php*
-rw-r--r-- 1 daemon daemon 12590 Jul 22 19:14 plugin_jw_sig.xml
bash-3.00#
bash-3.00# ls -laF plugin_jw_sig
total 112
drwxr-xr-x 2 daemon daemon 512 Jul 22 20:04 ./
drwxr-xr-x 4 daemon daemon 1024 Jul 22 19:14 ../
-rwxr-xr-x 1 root root 2017 Jul 22 20:04 .showthumb.php*
-rw-r--r-- 1 daemon daemon 979 Jul 22 19:14 closelabel.gif
-rw-r--r-- 1 daemon daemon 2767 Jul 22 19:14 loading.gif
-rw-r--r-- 1 daemon daemon 14516 Jul 22 19:14 logo.gif
-rw-r--r-- 1 daemon daemon 10185 Jul 22 19:14 mootools.js
-rw-r--r-- 1 daemon daemon 354 Jul 22 19:14 nextlabel.gif
-rw-r--r-- 1 daemon daemon 371 Jul 22 19:14 prevlabel.gif
-rw-r--r-- 1 daemon daemon 4364 Jul 22 19:14 shadow.gif
-rw-r--r-- 1 daemon daemon 3403 Jul 22 19:14 shadowAlpha.png
-rwxrwxrwx 1 daemon daemon 1956 Jul 22 20:05 showthumb.php*
-rw-r--r-- 1 daemon daemon 1604 Jul 22 19:14 sig.css
-rw-r--r-- 1 daemon daemon 7305 Jul 22 19:14 slimbox.js
bash-3.00#
Please Log in or Create an account to join the conversation.
- bsdboy
- Topic Author
- Offline
- New Member
- Posts: 4
www.bsdboy.com/content/view/3/2/
edit/update: I hadn't tried using .gif's at this point, so I thought I would try. Interesting enough the .gif worked?! Looked like hell, but it did work :-)
Now, how to make .jpg work :-\
edit 2:
I've noticed that I get good results going to (I receive te thimb):
www.bsdboy.com/mambots/content/plugin_jw_sig/showthumb.php?img=hollistertrip/test.gif&width=200&height=200&quality=80
Bad results going to:
www.bsdboy.com/mambots/content/plugin_jw_sig/showthumb.php?img=hollistertrip/test.jpg&width=200&height=200&quality=80
Both files exist.
Please Log in or Create an account to join the conversation.
- bsdboy
- Topic Author
- Offline
- New Member
- Posts: 4
I managed to get jpg support, already had gif support but still don't have png support. I can live with this 8)
Apparently there is a problem linking the GD libraries when building php from source, you must specify --with-jpeg-dir BEFORE --with-gd. This did not seem to do the trick with png support.
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-jpeg-dir --with-png-dir --with-zlib --with-gettext --with-gdbm --with-gd --enable-mbstring
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- More thumbnail woes.... Mostly resolved!