Post Avatar 1.1

A bunch of changes to the Post Avatar plugin. Download it now.

  1. Localization
    Dominik has also added a German translation. If you want to create your own translation of Post Avatar the .pot file has been included in the package and is inside the languages folder.

  2. Live preview of selected images
    If you’ve set the option to show images in the Write Post screen, this live preview lets you check if you’ve chosen the right image. This feature was added by a href=”http://wordpress.gaw2006.de/”>Dominik who will be helping me out with further development. Please note the live preview has only been tested in Mozilla

  3. More Template Tag Options
    A. Define your own CSS class by using this query string inside The Loop:

    <php if (function_exists('gkl_postavatar')) gkl_postavatar('example', '', ''); ?>

    Here, “example” is the name of the class. The following is shown on your page:
    <div class="example"><img src="http://www.garinungkadol.com/wp-content/images/icons/messer01.jpg" alt="title of post" style="width:100px; height:100px; border:none;" /></div>

    B. Define your own HTML with the string parameters “before” and “after”.
    e.g. before = <p class=”mypic”>
      after = </p> in this example…

    <php if (function_exists('gkl_postavatar')) gkl_postavatar('', '<p class="mypic">', '</p>'); ?>

    will result in:

    <p class="mypic"><img src="http://www.garinungkadol.com/wp-content/images/icons/messer01.jpg" alt="title of post" style="width:100px; height:100px; border:none;" /></p>

    C. Show the image without any divs:

    <php if (function_exists('gkl_postavatar')) gkl_postavatar('', '', ''); ?>

    to get:

    <img src="http://www.garinungkadol.com/wp-content/images/icons/messer01.jpg" alt="title of post" style="width:100px; height:100px; border:none;" />

For support please comment here

Web design dreams and other things

I dreamt last night that I had made a fab Battlestar Galatica layout – the whole look and feel and the translation from Photoshop to structured HTML and CSS was spot on. Oh if only real life was like that!

Pia and I met up with Jake and Rabang last night at Bascon Cafe. Jake is planning a trip for us all in November when Terai and Julius come down to Bacolod. We’ve settled on the place (Siquijor) and accomodations. Now to save up for the trip!

Damn frakking internet is S L O W today.