Sign In:


#set($leadImageMaxWidth = 400) #set($leadImageMaxHeight = 300) #set($leadImgStyle='style="border:1px solid #000; padding: 0px;"') #foreach($item in $cms.links("/sports/redsox",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 > $leadImageMaxWidth) #set($newHeight = $math.round($math.multiply($math.divide($leadImageMaxWidth,$mainImage.width),$mainImage.height))) #set($myImage = $util.resizeImageTag($mainImage,$leadImageMaxWidth,0,$leadImgStyle)) #end #if($newHeight > $leadImageMaxHeight) #set($newWidth = $math.round($math.multiply($math.divide($leadImageMaxHeight,$mainImage.height),$mainImage.width))) #set($myImage = $util.resizeImageTag($mainImage,0,$leadImageMaxHeight,$imgStyle)) #end $myImage #end

$item.title

$item.summary

Read more

#end

Featured video

Follow the Red Sox and Sea Dogs on Twitter

Kevin Thomas: Clearing the Bases

    #foreach($item in $cms.links("/blogs/thomas",1,5))
  • $item.title
    $util.date("MMMM d, yyyy",$item.contentLiveDate,"America/New_York") #set($cssInputString = $item.summary) #set($cssNumWords = 20) $cms.template("Create Shortened String")
  • #end
#set($topImageMaxWidth = 300) #set($topImageMaxHeight = 260) #set($topImgStyle='style="border:1px solid #000; padding: 0px;"') #foreach($item in $cms.links("/sports/redsox",2,4))
#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 > $topImageMaxWidth) #set($newHeight = $math.round($math.multiply($math.divide($topImageMaxWidth,$mainImage.width),$mainImage.height))) #set($myImage = $util.resizeImageTag($mainImage,$topImageMaxWidth,0,$topImgStyle)) #end #if($newHeight > $topImageMaxHeight) #set($newWidth = $math.round($math.multiply($math.divide($topImageMaxHeight,$mainImage.height),$mainImage.width))) #set($myImage = $util.resizeImageTag($mainImage,0,$topImageMaxHeight,$imgStyle)) #end $myImage #end

$item.title

$item.summary

Read more

#end
#set($imageMaxWidth = 240) #set($imageMaxHeight = 400) #set($imgStyle='style="border:1px solid #000; padding: 0px; float: left; z-index: 0;"') #foreach($item in $cms.links("/sports/redsox",6,12))
#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)) #end $myImage #end

$item.title

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

Read more

#end