<?php # include the PHP library (if not autoloaded) require './../lib/php/autoload.php'; ################################################ # Optional: # default is PNG but you may also use SVG Emojione\Emojione::$imageType = 'svg'; # default is ignore ASCII smileys like :) but you can easily turn them on Emojione\Emojione::$ascii = true; # if you want to host the images somewhere else # you can easily change the default paths Emojione\Emojione::$imagePathPNG = './../assets/png/'; Emojione\Emojione::$imagePathSVG = './../assets/svg/'; ################################################ ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>::shortnameToImage($str) - PHP - Emoji One Labs</title> <!-- Emoji One CSS: --> <link rel="stylesheet" href="./../assets/css/emojione.min.css" type="text/css" media="all" /> <!-- jQuery: --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Demos Stylesheet: --> <link rel="stylesheet" href="styles/demos.css"/>