Lazy Image Layout 0.36

Please go to http://davidseah.com/projects/lzil for the most recent LZIL download! You may also leave comments there…this page is now locked.

Grendizer Lazy Image Layout (LZIL) is my WordPress 1.2 plugin for formating images in my posts, using a terse syntax and automatic thumbnail sizing. It was developed to co-exist with PHP-Markdown 1.0. If you don’t have Markdown installed, you’ll need to make sure that the LZIL commands don’t have carriage returns after them.

Gundam The way I generally access my blog is through either the WP admin interface or using Dreamweaver. I upload files using Dreamweaver, and use its code editor for managing the PHP associated with the site when that is needed. Because of this, I tend not to use the upload form of WordPress. You still need to set the upload path in your WordPress options, however…LZIL uses it to determine the base location of your images.

Anyway, here are the important features:

  • terse syntax:
    • short: LZIL: file not found:
      /var/www/vhosts/davidseah.com/httpdocs/_wpcontent/imagename
      /span>
    • long: LZIL: file not found:
      /var/www/vhosts/davidseah.com/httpdocs/_wpcontent/imagename
      /span>
    • dest_url and “alt-title” are optional, and either can appear singly.
  • popup image support.
  • automatic thumbnail generation and caching on-the-fly.
  • can align left, right, with “no margin” option available for full-width images.
  • doesn’t use <div> tags, so will work inside of other blocks like <p>.
  • attempts to provide useful error messages back to the user

To-Do List:

  • Add :X (no resize) option
  • Add SWF support
  • Add no border support
  • Rewriting using inline tables, so we can have captions (I think this is a proper use of tables in CSS, but tell me if I’m wrong)


Grendizer The images below are a mixture of JPEG and GIF files.

Agent IntrigueKorves BaseMEK's Interface


Crixa XO ShipCrixa TitleDueltris Screen


» Installing LZIL