ofBook icon indicating copy to clipboard operation
ofBook copied to clipboard

fix missing images

Open ofZach opened this issue 8 years ago • 1 comments

in @golanlevin's chapter http://openframeworks.cc/ofBook/chapters/image_processing_computer_vision.html

and at the end of: http://openframeworks.cc/ofBook/chapters/generativemesh.html

this might be markdown related...

ofZach avatar Feb 21 '16 01:02 ofZach

Generative Mesh - fixed. Those images were also hyperlinks, which pandoc turns them into <p><a><img></a></p>. The python code only looks for <div class="figure"></div> to find images and update their src to point to the proper location.

@golanlevin - there are similar issues in the cv chapter. An image without a line break between it and the next line of text turns into <p><img><em></em></p>. I just committed a temporary fix, but you might want to move your italicized text underneath your images into the caption. E.g. turn this:

![TSPS (left) and Community Core Vision (right)](images/tsps_ccv.png)

*TSPS (left) and Community Core Vision (right) are richly-featured toolkits for performing computer vision tasks that are common in interactive installations. They transmit summaries of their analyses over OSC, a signalling protocol that is widely used in the media arts.*

Into this:

![TSPS (left) and Community Core Vision (right) are richly-featured toolkits for performing computer vision tasks that are common in interactive installations. They transmit summaries of their analyses over OSC, a signalling protocol that is widely used in the media arts.](images/tsps_ccv.png)

mikewesthad avatar Feb 21 '16 17:02 mikewesthad