Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-20 07:15:31

bluelion
New Member
From: Vienna
Registered: 2006-01-18
Posts: 6

no thumbnail creation

Hi everyone,

I’m quite new to txp. everything works really fine. the only problem is when I upload a picture, no thumbnail is created. I use glx_admin_image (4.0.3) for thumbnail creation (well I thought I would). There are no error messages.

So what could be wrong. I am really no expert so please excuse if I left out some important information to you.

Thank you.

Hannes

Offline

#2 2006-01-23 17:38:41

bluelion
New Member
From: Vienna
Registered: 2006-01-18
Posts: 6

Re: no thumbnail creation

When I try to upload without any plug-ins I receive the following message:
Warning: imagejpeg(): Unable to access /home/***/html/mad/images/2t.jpg in /home/***/html/mad/textpattern/lib/class.thumb.php on line 242
Warning: imagejpeg(): Invalid filename ‘/home/***/html/mad/images/2t.jpg’ in /home/***/html/mad/textpattern/lib/class.thumb.php on line 242

Seems, that I am the only one with problems concerning the creation of thumbnails!

Hope someone can help me

Hannes

Offline

#3 2006-01-23 18:57:19

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: no thumbnail creation

So you can upload images (they get saved?) but you can’t create thumbnails, right? Even when you disable glx_admin_image?

It might help if you post your diagnostics.

Offline

#4 2006-01-23 20:21:55

bluelion
New Member
From: Vienna
Registered: 2006-01-18
Posts: 6

Re: no thumbnail creation

Thank you for your answere.
I can upload pics and at present I have no plug-ins installed. Here is the output from the diagnostics. This installation is absolutely fresh.

—————————————————————-
Version Textpattern: 4.0.3 (r1188)
last_update: 2006-01-23 17:26:16/2006-01-23 17:22:57
Absoluter Pfad der Seite: /home/***/html
$path_to_site: /home/***/html/mad
Pfad Textpattern: /home/***/html/mad/textpattern
Schema der URLs: section_id_title
open_basedir: /home/***/html/:/home/***/phptmp/:/home/***/files/:/home/***atd/
upload_tmp_dir: /home/***phptmp/
Temporäres Verzeichnis: /home/***html/mad/textpattern/tmp
Seiten-URL: www.hannesreiff.com/mad
PHP-Version: 4.4.1
Register globals: 1
server_time: 2006-01-23 21:13:49
MySQL: 4.0.26-standard
Regionale Einstellungen: de_DE.UTF-8
Server: Apache
Apache-Version: Apache
php_sapi_mode: apache
os_version: Linux 2.4.32

Inhalt der .htaccess-Datei:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

————————————

Charset (default/config): latin1/latin1
character_set: latin1
character_sets: latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7 cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr greek win1250 croat cp1257 latin5
18 Tables: OK

PHP-Erweiterungen: xslt, xml, wddx, tokenizer/0.1, sysvshm, sysvsem, standard/4.4.1, sockets, shmop, session, posix, pgsql, pdf, pcre, overload, mysql, mcal, mbstring, imap, iconv, gmp, gettext, gd, ftp, filepro, exif/1.4 $Id: exif.c,v 1.118.2.37.2.3 2005/10/10 06:07:16 helly Exp $, domxml/20020815, dbase, dba, db, curl, ctype, calendar, bz2, bcmath, zlib/1.1, openssl, apache, ionCube Loader, Zend Optimizer
—————————————————————

Offline

#5 2006-01-23 22:22:23

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: no thumbnail creation

I’m sorry Hannes, I was hoping it would be something obvious enough for me to see :/ but no… There can’t be something wrong with your image directory if you can save images. Some php extension maybe?

I hope someone else with more knowledge will have a look and be able to help you.

Offline

#6 2006-01-23 22:45:56

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: no thumbnail creation

This is probably caused by a bug in PHP 4.4.1. It’s listed as fixed in the PHP 4.4.2 changelog.

Last edited by zem (2006-01-23 22:46:38)


Alex

Offline

#7 2006-01-24 07:47:36

bluelion
New Member
From: Vienna
Registered: 2006-01-18
Posts: 6

Re: no thumbnail creation

Thank you. I will contact my provider.

Hannes

Offline

#8 2006-01-26 16:01:36

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: no thumbnail creation

I have a similar problem with my host. It’s the security setting of my entire site. With one security setting GD doesn’t work but mail() is enabled. In the other GD works but mail() is disabled. Who’s your host?

Offline

Board footer

Powered by FluxBB