Welcome to the brand-spankin' new Wiki style documentation for Facelift Image Replacement. I wrote the old documentation page by hand and it was a PITA to update, and therefore, never got updated. I figure DokuWiki is a good choice for creating the new documentation for FLIR and I encourage others to jump in and make corrections or modifications if necessary.
The documentation is far from complete at this time. I'm actively updating it as I get a chance or if someone asks a question in the forums. |
Don't want to RTFM? Here is a quick start guide for those of you that are like me and learn best by doing.
You may also need to change the permissions on your cache directory. Try chmod 777.
The following line goes in the <head></head> section:
<script language="javascript" src="/path-to/facelift/flir.js"></script>
Then add the following snippet to the end of your page, just before the closing </body> tag.
<script type="text/javascript"> FLIR.init( { path: '/path-to/facelift/' } ); FLIR.replace('h2'); </script>
FLIR has been built very barebones. Additional functionality can be achieved with the use of plugins.
If you get stuck with something I hope that you take advantage of this wiki to try to find your answer. If you get stuck, you can always head over to the forums where either I or some generous passerby will try to answer your question.