Summary: Display the title attribute of an image directly on the image without editing the image.
Download: see notes below
Questions answered by this recipe
How can I have an amazing headline displayed directly on an image without changing the image and just using simply Wiki markup?
This recipe will add the ability to display the title-attribute of an image direct on the page. All you have to do is to Attach an image with the min width of 500 px.
- download from source
https://bitbucket.org/wikimatze/pmwiki-headlineimage-recipe/downloads/or via git
git clone https://bitbucket.org/wikimatze/pmwiki-headlineimage-recipe.git
- make the following copy-tasks:
headlineimage.phpin your cookbook directory (
cp pmwiki-headlineimage-recipe/cookbook/headlineimage.php cookbook/)
- put the
headlineimagefolder in your public directory (normally *pub/*) (
cp -R pmwiki-headlineimage-recipe/headlineimage/ pub/)
include_once("in your *config.php*
- make sure to set the
variable in your *config.php* and put it before including the recipe
Can be found under README.
See HeadlineImage-Talk - your comments are welcome here!
User notes : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.