Zubrag.com
August 14, 2018, 05:44:13 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Thumbnail Generation Error. Thumbnail not created.  (Read 5886 times)
roeltje
Newbie
*
Posts: 1


« on: July 03, 2009, 08:22:09 AM »

Hi Guys,

I got a problem. If i try to run the script on my website, it says: "Thumbnail Generation Error. Thumbnail not created.".
I've already searched for it, without any results...

This is the site: http://www.bedrijvensector.nl/thumb/webthumb.php
I.E.: http://www.bedrijvensector.nl/thumb/webthumb.php?url=www.design-xtr.nl

I've already done some homework and replaced

@ exec('IECapt.exe ' . escapeshellarg($website_url) . ' ' . escapeshellarg($cached_filename));

by

echo '<b>IECapt.exe ' . $website_url . ' ' . $cached_filename . '</b>';
$arr = array();
exec('IECapt.exe ' . $website_url . ' ' . $cached_filename, $arr);
echo "<pre>"; print_r($arr);


My settings are like:
###############################################################
# Website Thumbnail Image Generator 1.1
###############################################################
# Visit http://www.zubrag.com/scripts/ for updates
###############################################################
#
# REQUIREMENTS:
# PHP 4.0.6 and GD 2.0.1 or later
# May not work with GIFs if GD2 library installed on your server
# does not support GIF functions in full
#
# Parameters that can be passed via url (if not passed will be used values which are set below):
# url - url of the target website
# x - max width
# y - max height
# q - quality (applicable only to JPG, 1 to 100, 100 - best)
#
# Sample usage:
# 1. webthumb.php?url=http://www.microsoft.com
# 2. Set maximum thumbnail size to 150
#    webthumb.php?url=http://www.thumbnails.com&x=150&y=150
###############################################################

// Folder to save all thumbnails.
// Must end with slash!!!
$thumbnails_folder = '/thumbs/';

// thumbnails expiration time in minutes
$cache_expire_time = 60;

// quality (for jpeg only)
$image_quality = 100;

// resulting image type (1 = GIF, 2 = JPG, 3 = PNG)
$image_type = 3;

// maximum thumb side size
$max_x = 100;
$max_y = 100;

// If not equal 0 then cut original image size before resizing (in pixels).
// Long page will have bad thumbnail, its better to cut page length first.
$cut_x = 0;
$cut_y = 1024;

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC