• Resolved edgarloxton

    (@edgarloxton)


    Hi, I am trying to use the plugin on my website at https://www.edgarskitespot.co.za. I cannot get the picture to refresh at all. My webcam is uploading new picture every 15 seconds with the following name format: yy-mm-dd-hh-mm-ss.ms.jpg. I tried shortcode with and without refreshinterval option. You can see the image displayed by your plugin at the bottom of the Spot Location page. Any ideas why it would not refresh? I had a similar problem getting the image on my home page to refresh, when a user refreshed the page, which I solved by using an iframe plugin.

    Thank you
    Edgar Loxton

    https://www.ads-software.com/plugins/react-webcam/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Radek Matej

    (@nikdo)

    Hi Edgar,

    It seems, that the webcam actually doesn’t upload timestamped images to the right folder. When I inspect the webcam image element on your site, it points to:
    https://edgarskitespot.co.za/wp/wp-content/uploads/webcam/webcam.jpg

    But the file should have the format yy-mm-dd-hh-mm-ss.ms.jpg as you mentioned. Please check the uploads/webcam folder again and make sure that images are uploaded there periodically and that they are timestamped. The plugin just uses AJAX to fetch and display the latest file. Which in your case is the webcam.jpg image.

    Thread Starter edgarloxton

    (@edgarloxton)

    Hi you looked on the wrong page. Please look at the “Spot location” page – edgarskitespot/spot-location. The image is at the bottom of that. The images are being uploaded to the wp-content/uploads/webcam folder

    Plugin Author Radek Matej

    (@nikdo)

    If you mean this page, the image URL is still https://edgarskitespot.co.za/wp/wp-content/uploads/webcam/webcam.jpg.

    Check the page source code.

    Thread Starter edgarloxton

    (@edgarloxton)

    I see the problem. There was an old copy of webcam.jpg sitting in that folder. I deleted it and now the plugin is picking the time stamped image files. Thank you very the help.

    Plugin Author Radek Matej

    (@nikdo)

    Perfect. I’m glad that you have found the solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘picture not refreshing’ is closed to new replies.