Show comic

show_comic($thumbnail) - display the current comic file(s)

Description
This tag displays the comic files for the day being shown. For comic posts that have one or more comic_file custom fields set, those files will be shown. Otherwise, stripShow will search for files matching your chosen date format in your comics directory (see ).

What form this takes depends on the format of the files themselves. Image files get displayed via the HTML &lt;img&gt; tag, Flash files via the &lt;object&gt; tag, and text and HTML files are simply inserted into the page as-is.

For graphical comic files (such as GIF or JPEG), the show_comic tag automatically determines the image's dimensions in pixels and uses those as arguments to the &lt;img&gt; tag. The comic post's title is used as the tag's title and alt attributes.

Basic Usage
&lt;?php show_comic ?&gt; This would produce the following output: &lt;img height="285px" width="794px" src="http://www.example.com/wp-content/stripshow_comics/20090220.png" alt="Comic for February 20, 2009" title="Comic for February 20, 2009" /&gt;

Advanced Usage
&lt;?php show_comic(TRUE) ?&gt; This would produce the following output: &lt;img height="143px" width="397px" src="http://www.example.com/wp-content/stripshow_comics/20090220.png" alt="Comic for February 20, 2009" title="Comic for February 20, 2009" /&gt;