Cookbook /
HeadlineImage
Summary: Display the title attribute of an image directly on the image without editing the image.
Version: 20170225
Maintainer: MatthiasGünther
Download: see notes below
Demo: HeadlineImage
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?
Description
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.
Installation
- download from source
https://bitbucket.org/wikimatze/pmwiki-headlineimage-recipe/downloads/
or via gitgit clone https://bitbucket.org/wikimatze/pmwiki-headlineimage-recipe.git
- make the following copy-tasks:
- put
headlineimage.php
in your cookbook directory (cp pmwiki-headlineimage-recipe/cookbook/headlineimage.php cookbook/
) - put the
headlineimage
folder in your public directory (normally *pub/*) (cp -R pmwiki-headlineimage-recipe/headlineimage/ pub/
)
- put
- add
include_once("
in your *config.php*$FarmD
/cookbook/headlineimage.php"); - make sure to set the
variable in your *config.php* and put it before including the recipe$PubDirUrl
'
README
Can be found under README.
Comments/Feedback
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.