Image Titles

Summary

This module "automatically" replaces text titles with an "associated:" image, if a suitable replacement can be found.  It simply converts the title into a filename and looks for that file - if it finds it, it formats the image tag to replace the title.

Overview

Requires:

  • a collection of GIF image titles located in files/images/titles (configurable in script)
  • a call from _phptemplate_variables(), or some other appropriate place, to substitute the title.

Source Code

All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt

The source code is attached below...

Full instructions for installing and using this module are included as comments in the source file.

AttachmentSize
replace_title.zip13.35 KB