webiopi picture access permission issue

39 views
Skip to first unread message

poony lim

unread,
May 29, 2019, 11:06:13 AM5/29/19
to WebIOPi
I am using Raspberry Pie 3 B +. I can use webiopi to control gpio, but i can not load images from the html screen. i made custom index.html of webiopi.
/etc/webiopi/config
doc-root=/home/pi/
welcom-file= index.html

the picture is located /home/pi/picture

this is load image source in index.html
<br/><br>
			<img id="arrowTop" src="" onmousedown="Forward()" onmouseup="Stop()">
			<script type="text/javascript">
				getPicture('arrowTop','top');
			</script>
			
		<b>

Reply all
Reply to author
Forward
0 new messages