Hi, I’ve just updated the DropCaps plugin to work with EE2.
Maybe this update could be useful for someone out there 😊
I changed a little how this plugin works because I needn’t subfolders or “key” values… Now you can use {exp:imgdropcaps} adding parameters only if you need them.
This plugin will replace the first character of a paragraph using a Drop Cap raster image. ********* INSTALL copy “imgdropcaps” folder to /system/expressionengine/third_party ********* SETUP -Default directory for your images is /images/dropcaps/ (if you use another folder check the code above and edit this path) -You can change file extension (default is PNG), height, width and alt value checking the code above. It’s really simple. -The name of your files need to be lowercase (example: a.png AND NOT A.png) ********* USAGE {exp:imgdropcaps folder="folder_name" key="0"} {copy} {/exp:imgdropcaps} Where: - {exp:imgdropcaps} is the tag you use to parse the text paragraph - {copy} is the text that will be parsed by the plugin OPTIONAL PARAMETERS: - folder=”” use if you want to add a subfolder where the alternative versions of dropcaps are stored - key=”” this value indicates how many charachters come before the beginning of your text. For example you could use key=”3” if your text is wrapped around tag.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.