Displaying webcam image on a Wordpress site

Sep 16, 2024
9
1
NY
Hello All,

I posted yesterday in the Foscam forum but wanted to get a bigger set of eyes on the issue since I realized it's not a Foscam issue.

I have a website that shows the local lake that I lived on. From time to time I add a second camera to the site that displays a still image instead of video. I switched to a Wordpress site a few weeks ago and tried adding the second cam this week using the code from my old site. It worked for 2 days and then it stopped. It works on my iPad at the house but nothing else. The image no longer shows up on my website. I used this code for years on my site without issue, but it was html based and used <div tags>

<img src="http://ipaddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&amp;usr=guest1&amp;pwd=guest1" alt="webcam feed" width="1280" height="720" class="img-responsive"<br>

Obviously Wordpress does not like the code from my old site. My iPad pulls it up just fine on my website, which is strange. Is there a php friendly code I can use?

Cams are working just fine. I can pull up the snapshot url from my browser and get an image just fine. I pulled up the html document of my old website and the live image shows up just fine there too. Wordpress does not like it. Everything is port forwarded. The cams are at the lake house and I am home.

Thanks in advance,
 
I've tried inserting an image link and WP simply will not convert the link into an image.

FTP is not a possibility. Camera does not output a static filename and there is no remote machine for it.