No Thumbnails in webcam plugin

Post Reply
Madpaddler
Newbie
Newbie
Posts: 8
Joined: Mon Jul 02, 2018 12:59 pm
Station model: Davis VP 2 plus
Software: Weather Display

No Thumbnails in webcam plugin

Post by Madpaddler » Fri Jul 27, 2018 9:13 pm

After some work in Weatherdisplay I have my webcam images being generated and uploaded to the server.
My cron job is triggering the script correctly as the images and thumbnails are being placed in the database and I can see them on the server using my ftp program.

When I view the webcam plugin on my site, there are just black images instead of thumbnails shown but if I click a thumbnail. it pops up correctly. Page here - http://weather.madpaddler.scot/template ... /index.php

It seems like I must be missing a step somewhere - or possibly there is a php module missing on my server.

Does anyone have any suggestions at all?

Thanks in anticipation

Gavin
Gavin

Image

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: No Thumbnails in webcam plugin

Post by Dehatter » Sat Jul 28, 2018 8:30 am

a couple of weird things going on...

1- Your image is not being updated in a timely manner
2- when I call the thumbnail file directly (as in http://weather.madpaddler.scot/template ... 280430.jpg) all I get is the black box, which would be correct per the plugin display
3- On your homepage, the timelapse seems to work, sometimes....updates to the image are much longer than the time updates counting off below it (your timestamp and the camera time do not match as well).

Not sure why any of this is happening, but I would guess it is either something like a database error, cron error, or a hosting error, but the images are not being transferred to the server for some reason. Ultimately, the thumbnail is not being created even though the timestamped image is there.

image path = http://weather.madpaddler.scot/template ... 280422.jpg
Thumbnail path = http://weather.madpaddler.scot/template ... 280422.jpg

The paths are correct but nothing bot the black box in in the thumbnail folder.

Tom
Image

Madpaddler
Newbie
Newbie
Posts: 8
Joined: Mon Jul 02, 2018 12:59 pm
Station model: Davis VP 2 plus
Software: Weather Display

Re: No Thumbnails in webcam plugin

Post by Madpaddler » Sat Jul 28, 2018 9:52 am

Thanks Tom. This gives me some ideas to work on starting with the original images being created on the weather pc.

I’ll start there and work my way along the chain!

Thanks again!
Gavin

Image

Madpaddler
Newbie
Newbie
Posts: 8
Joined: Mon Jul 02, 2018 12:59 pm
Station model: Davis VP 2 plus
Software: Weather Display

Re: No Thumbnails in webcam plugin

Post by Madpaddler » Sun Jul 29, 2018 2:35 pm

Looks like things are sorted now.

I started from the camera file creation on the weather pc and worked through each stage and now seem to have thumbnails. :D I reduced the frequency of file creation to every 10 minutes. Now all I want to do is improve the camera image quality - it's not the best and does suffer over exposure at times.

The time stamps are out by an hour as the pc remains on GMT all year round.

Thanks to Tom's fresh pair of eyes :)
Gavin

Image

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: No Thumbnails in webcam plugin

Post by Johnny » Mon Jul 30, 2018 8:23 am

Hi Gavin,

To help with the over exposure problem you could place an ND filter in front of the lens, this will stop down the amount of light coming in. These come in all shapes and sizes, you might be able to buy the sheet type that you can cut with a scissors and silicone it to the lens mount. Alas ND filters are not cheap. The manufacturer of your camera may even have these as option extras to screw on the lens.

John
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

Madpaddler
Newbie
Newbie
Posts: 8
Joined: Mon Jul 02, 2018 12:59 pm
Station model: Davis VP 2 plus
Software: Weather Display

Re: No Thumbnails in webcam plugin

Post by Madpaddler » Mon Jul 30, 2018 4:23 pm

Good idea Jonny. It’s a cheap as chips usb webcam which doesn’t help!

Priority for now is finish the pond renovation project before I have to go back to work ;)
Gavin

Image

Post Reply