You insert a reference to it by using the Insert Reference to Image button in Author mode.
<image href=”file:///%USERPROFILE%/src/python_rest_api/doc/user/v1/source/mobile-content/static/images/IMG_0580.PNG“/> OS Detection ============
You don’t need to use the BrowserDetect script.
You can write your own JavaScript code that runs the statement: navigator.platform;
Try it out
Type this into your web browser address field: javascript:alert(navigator.platform)
How to Use It
You could create two directories beneath the _static/images directory. One for iPhone images, and one for Android images. In this way, all images can keep the same names; only one word in their path names will vary. You could make it a variable called “platform”
One reply on “Insert an Image”
There is definately a great deal to find out about this topic. I really like all of the points you made. Rebbecca Clevie Caleb