I was searching for a simple WordPress gallery plugin but the problem was that there were so many of them. I played some of them but I couldn’t find that meets my purpose. Instead of testing all of them, I created yet another plugin. My objective was:
- It should be as easy as writing an article.
- It should work with or without JS support.
- It can be embedded into an article or a page.
This plugin fulfilled my purpose so far. Some examples are here. If you are interested, you can download it here. Continue Reading »
admin on September 26th 2007 in Wordpress
1. Mysterious padding
<div style="background-color:blue;">
<img src="some_url/a.gif" alt="Header" />
</div>


See the output results above, it creates blue padding at the bottom of the image in IE. To fix the issue, you have to rewrite the code without a line break (mean a single line of code) or even simply add <br /> tag immediately after the <img> tag. Continue Reading »
admin on September 5th 2007 in Programming
My company used to download the Apache log file daily, parse it and then put it into the database. A script did this but as we added more servers, it became hard to maintain. I ran across Apache piped logs and found a way to store the log directly into DB. Continue Reading »
admin on July 6th 2007 in Life, Work-around
Some cases, you may want to generate XML files on the fly. One of my project required dynamic XML files so the flash player can manipulate the XML. Fire Fox loads external XML files without a problem but IE has a issue. Continue Reading »
admin on January 28th 2007 in Work-around