Author Topic: grlevel3 publishing/script  (Read 3231 times)

0 Members and 1 Guest are viewing this topic.

Offline AD7ZD

  • Member
  • *
  • Posts: 18
Re: grlevel3 publishing/script
« Reply #50 on: December 16, 2018, 07:44:50 PM »
You might try posting code for your file in the "custom html" block choice in the formatting section. Then "convert to blocks".


CWOP: AD7ZD

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #51 on: December 16, 2018, 07:58:25 PM »
Which code, specifically?  The two scripts are in my wordpress root path now...so now I have to adapt the setting in the script so that the script can find the gr3 images.  I have the gr3 images going into a folder within the wordpress root path which for me is /home4/northuk2/public_html/gr3

so now I'm going to have to figure out how to get the scripts to find the images...AND I have to figure out how to actually put the code into the radar page so that it works.  So I guess the first step, naturally, would be to change the settings in the .php script so that it knows which directory to find the images.  Like in the script settings do I put "/home4/northuk2/public_html/gr3" for the $GR3DIR?
 

Offline AD7ZD

  • Member
  • *
  • Posts: 18
Re: grlevel3 publishing/script
« Reply #52 on: December 16, 2018, 08:20:41 PM »
The Grlevel3 people should have the code to download. Do they have any help desk? Maybe it doesn't work yet with Gutenberg...


CWOP: AD7ZD

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1825
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #53 on: December 16, 2018, 08:40:06 PM »
Which code, specifically?  The two scripts are in my wordpress root path now...so now I have to adapt the setting in the script so that the script can find the gr3 images.  I have the gr3 images going into a folder within the wordpress root path which for me is /home4/northuk2/public_html/gr3

so now I'm going to have to figure out how to get the scripts to find the images...AND I have to figure out how to actually put the code into the radar page so that it works.  So I guess the first step, naturally, would be to change the settings in the .php script so that it knows which directory to find the images.  Like in the script settings do I put "/home4/northuk2/public_html/gr3" for the $GR3DIR?

You should be able to use:  <img src="http://www.northshoreweatherservice.com/gr3/kbox_br1_0.jpg" alt="radar" /> in the body of the webpage and it should show correctly.
GR2AE, GR3, Cumulus

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #54 on: December 16, 2018, 09:05:14 PM »
Wait...when I click on that link on my phone it actually comes up with the radar image

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1825
    • Maumelle Weather
Re: grlevel3 publishing/script
« Reply #55 on: December 16, 2018, 09:30:21 PM »
Wait...when I click on that link on my phone it actually comes up with the radar image

Yes, clicking on the link directly will bring up the radar image. I was looking at the script output of the radar page........it looks to be correct. The image should show just fine, but it doesn't, and I do not understand why.

John
GR2AE, GR3, Cumulus

Offline AD7ZD

  • Member
  • *
  • Posts: 18
Re: grlevel3 publishing/script
« Reply #56 on: December 16, 2018, 10:19:57 PM »
What works:
 <img src="http://www.northshoreweatherservice.com/gr3/kbox_br1_0.jpg" alt="radar" />

What's on your site:
<img src="https://www.northshoreweatherservice.com/gr3/kbox_br1_0.jpg" alt="image" />


CWOP: AD7ZD

Offline meteorologistjbp

  • Member
  • *
  • Posts: 35
    • North Shore Weather Service
Re: grlevel3 publishing/script
« Reply #57 on: December 17, 2018, 11:28:50 PM »
Thank you both for your tremendous help!!