Logo

Ratooragh Weather Systems

Campbell Scientific 2017-09-25 15:10:00 Pressure 1022mb, Temp 15.6°C, RH 87%, Wind Dir 184° at 6knots, Gusting to 11knots, Rain last 24 hrs = 0.2mm and Davis Vantage Pro 2017/09/25 15:10:00 Pressure 1021mb, Temp 14.3°C, RH 95%, Wind Dir 170° at 6knots, Gusting to 12knots, Rain last 24 hrs = 0.2mm <- Current Weather
Date Time: 2017/09/25 15:08, Turbine Speed: 699 rpm, WindSpeed: 5.10 knts, Input to Solar Tank: 6.17 watts, Input to Buffer Tank: 0.00 watts, Solar Relay: On, Buffer Relay: Off, Relay Override: Off, Solar Tank Temp: 46.00 C, Buffer Tank Temp: 20.77 C, Input to Solar Tank in 24Hrs: 0.03 kW, Input to Buffer Tank in 24Hrs: 0.00 kW, Total Energy Generated in 24Hrs: 0.03 kWatts and Date Time: 2017/09/25 15:10:07, PV Energy: 0.8 kW, Solar Rad. Time: 2017-09-25 15:05:00, Solar Rad.: 196 W/m², Sun Elevation: 27.2°, Total Generated in 24hrs: 16.989 kW <- Wind Turbine & PhotoVoltaic Output
Schull Tides for 2017-09-25 Time in UTC
1st HW 07:20 3.1m, 2nd HW 19:40 3.1m, 1st LW 01:00 0.5m, 2nd LW 13:20 0.5m

Altocumulus and Sea Fog

Altocumulus Lenticularis

Altocumulus Lenticularis

Altocumulus Lenticularis

Altocumulus Lenticularis

Altocumulus

Cirrocumulus with Contrails

Cirrocumulus

Cirrus

Crepuscular Rays

Crepuscular Rays

Cumulonimbus

Cumulonimbus

Cumulonimbus

Squall Line

Double Rainbow

Double Rainbow

Moonset

Sea Mist

The Sea 'Steaming'

Snow Storm

Storm Front, Thailand

Stratus

Altocumulus at Sunrise

Sun Setting

Sunset

Sunset under Stratocumulus

Drupal

Why does my php code to display an image not work?

echo '<img src="/path/to/image.jpg" width="100%" height="auto" align="top" alt="A Photo" border="0">';

Well I cannot answer that, however I can show you what will work. Try this:-

print '<img src="/path/to/image.jpg" width="100%" height="auto" align="top" alt="A Photo" border="0">';

I found this did work, but only on the home page!!!  So I discovered this method using the theme which works all over the place...

$image_array
        = array(
          'path' => '/path/to/image.jpg',
          'alt' => 'A Photo',
          'title' => 'My Image',
          'width' => '100%',
          'height' => 'auto',
          'attributes' => array('class' => 'my-class', 'id' => 'my-img'),
        );
print theme_image($image_array);

Phew!!!!