1
Installation, Update & Configuration / Re: thumbnail problem
« on: May 19, 2007, 08:18:06 AM »
Is this, because your uploaded file is NOT jpg, gif or png?
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Array
(
[ action] => createthumbnails
[ image_list] => Array
(
[ 10] => 1
)
[ dimension] => 100
[ resize_type] => 1
[ quality] => 75
)
key = 10, val = 1
Erstelle Thumbnail für: TGA Test (tga.tga) ....
Dateiname = ./../data/media/1/tga.tga
Thumbpfad = ./../data/thumbnails/1/tga.tga
Warning: Division by zero in F:\htdocs\4images\includes\image_utils.php on line 145
Warning: Division by zero in F:\htdocs\4images\includes\image_utils.php on line 151
Kommando: C:\Programme\ImageMagick\/convert.exe -quality 75 -antialias -sample x100 "./../data/media/1/tga.tga" "./../data/thumbnails/1/tga.tga.jpg"
sql = UPDATE 4images_images SET image_thumb_file = 'tga.tga' WHERE image_id = 10
Fertig!
Code: [Select]SQL = SELECT image_id, image_name, cat_id, image_media_file, image_thumb_file FROM 4images_images
Array
(
[image_id] => 10
[image_name] => TGA Test
[cat_id] => 1
[image_media_file] => tga.tga
[image_thumb_file] =>
)
Thumbfile = ./../data/thumbnails/1/
Thumbfile_exists? 1
Mediafile = ./../data/media/1/tga.tga
Array
(
[image_id] => 11
[image_name] => JPG-Test
[cat_id] => 1
[image_media_file] => 1-big.jpg
[image_thumb_file] =>
)
Thumbfile = ./../data/thumbnails/1/
Thumbfile_exists? 1
Mediafile = ./../data/media/1/1-big.jpg
Array ( [0] => 320 [1] => 240 [2] => 2 [3] => width="320" height="240" [bits] => 8 [channels] => 3 [mime] => image/jpeg )
wenn du Bilder geladen hast, und die auch online sind, und du jetzt im CP auf "Auto-Thumbnailer" klickst, was passiert denn dann??Wie gesagt: bei JPG wird tatsächlich erkannt, dass es noch kein Thumb hat und die Erstellung läuft ohne Fehlermeldungen durch. Allerdings steht in der Datenbank dann immernoch "Kein Thumb vorhanden" und es ist auch nichts erzeugt worden.
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
FreeType Version 1.4
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
JIS-mapped Japanese Font Support enabled