07-25-2015, 10:22 PM
Finally I got some time to look for a solution I've had when auto-creating images via GetStockImage.php (and function imagecreatefromjpg).
I have GD Graphics Library (php5-gd) installed and enabled but the function have newer worked (unavailable).
When using
instead of
in for example Stocks.php everything works great and GetStockImage.php generates images.
It looks like imagecreatefromjpg is only for GD testing and not actively in use?
Suggests using the above test instead even though this maybe is a minor problem...
This is on a Debian wheezy Server w/Apache 2.2. / PHP 5.4.
Jan
I have GD Graphics Library (php5-gd) installed and enabled but the function have newer worked (unavailable).
When using
Code:
if (extension_loaded('gd') && function_exists('gd_info')...
Code:
if (function_exists('imagecreatefromjpg')...
It looks like imagecreatefromjpg is only for GD testing and not actively in use?
Suggests using the above test instead even though this maybe is a minor problem...
This is on a Debian wheezy Server w/Apache 2.2. / PHP 5.4.
Jan