I have a news blog using articles which works fine. I'm creating a news page that displays all the latest posts. This works fine but I would like an image from the post to show with it. Images in each news item are by tvs. Here is my code:
<li>
<a href="[[~[[+id]]]]" title="[[+pagetitle]]">
<img src="[[+tv.NewsImage:phpthumbof=`w=153&zc=1`]]" alt="[[+pagetitle]]" />
</a>
<div>
<h3>[[+pagetitle]]</h3>
<span>[[+publishedon:strtotime:date=`%b %d, %Y`]] | Posted by <span>[[+createdby:userinfo=`fullname`]]</span></span>
<p>[[+introtext]]</p>
<a href="[[~[[+id]]]]">Read More</a>
</div>
</li>
No image is displayed. No file path is being parsed to src. It's <img alt="Season kick off" src=""></img>
In the the error log it says:
(ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
[2013-08-11 18:26:37] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /home/username/public_html/core/cache/phpthumb/phpThumb_cache_mydomain_src92d08988004a309b8c7d065ba969feee_paradf896d45f319fa323d889e84ccb98c5_dat0.jpeg
Am I doing something wrong? PhpThumbOf is installed.