Sign In:


    #set($imageMaxWidth = 360) #set($imageMaxHeight = 300) #set($imgStyle='style="border:1px solid #000; padding: 0px; margin: 5px 15px 5px 0px; float: left; z-index: 0;"') #foreach($item in $cms.links("/life/outdoors/",1,1))
  • #set($myImage = "") $cms.template("Get Main Image") #if($mainImage) #set($newHeight = $mainImage.height) #set($newWidth = $mainImage.width) #set($myImage = $util.tag($mainImage,$imgStyle)) ##1 $newWidth x $newHeight -- #if($newWidth > $imageMaxWidth) #set($newHeight = $math.round($math.multiply($math.divide($imageMaxWidth,$mainImage.width),$mainImage.height))) #set($myImage = $util.resizeImageTag($mainImage,$imageMaxWidth,0,$imgStyle)) ##2 $newWidth x $newHeight -- #end #if($newHeight > $imageMaxHeight) #set($newWidth = $math.round($math.multiply($math.divide($imageMaxHeight,$mainImage.height),$mainImage.width))) #set($myImage = $util.resizeImageTag($mainImage,0,$imageMaxHeight,$imgStyle)) ##3 $newWidth x $newHeight -- #end $myImage #end

    $item.title

     

    $util.date("MMMM d, yyyy",$item.contentLiveDate,"America/New_York")
    $item.summary
  • #end

Read the latest outdoor stories

    #set($imageMaxWidth = 220) #set($imgStyle='style="border:1px solid #000; padding: 0px; margin: 5px 5px 5px 0px; float: left; z-index: 0;"') #foreach($item in $cms.links("/life/outdoors/",2,30))
  • #set($myImage = "") $cms.template("Get Main Image") #if($mainImage) #set($newHeight = $mainImage.height) #set($newWidth = $mainImage.width) #set($myImage = $util.tag($mainImage,$imgStyle)) ##1 $newWidth x $newHeight -- #if($newWidth > $imageMaxWidth) #set($newHeight = $math.round($math.multiply($math.divide($imageMaxWidth,$mainImage.width),$mainImage.height))) #set($myImage = $util.resizeImageTag($mainImage,$imageMaxWidth,0,$imgStyle)) ##2 $newWidth x $newHeight -- #end #if($newHeight > $imageMaxHeight) #set($newWidth = $math.round($math.multiply($math.divide($imageMaxHeight,$mainImage.height),$mainImage.width))) #set($myImage = $util.resizeImageTag($mainImage,0,$imageMaxHeight,$imgStyle)) ##3 $newWidth x $newHeight -- #end $myImage #end
    $item.title
    $util.date("MMMM d, yyyy",$item.contentLiveDate,"America/New_York")
    $item.summary
  • #end