• Development

    How to check if a jQuery plugin is loaded

    The following snippet is one way to determine if a jQuery plugin is loaded an available. There are probably other ways to achieve the same behavior, however this one never seems to fail me.

     

  • Development

    Programmatically displaying an image using an imagecache preset

    The following illustrates one way to render an image using an Imagecache preset. Naturally, if your imagefield has multiple uploads you could wrap this in a foreach.