These are the code samples for The Book of OpenLayer3. Feel free to download the source code and contribute to this repository:
This recipe shows how we can use images to style features and use as a markers.