/**
  * Handles shortcode
  * @param $atts
  * @param null $content
  * @return string
  *
  */
 public function handle($atts, $content = null)
 {
     extract(shortcode_atts($this->extractShortcodeAttributes($atts), $atts));
     $mainContainerAtts = array('class' => array('galleryContainer', 'row', $class), 'href' => $image, 'data-rel' => ctGalleryGroupShortcode::getPrettyPhotoId());
     $firstItem = false;
     if (ctGalleryGroupItemShortcode::$counter == 0) {
         /** @var $image string */
         ctGalleryGroupItemShortcode::$firstImageSrc = $image;
         $firstItem = true;
     }
     if ($firstItem == false) {
         $html = '
             <a  ' . $this->buildContainerAttributes($mainContainerAtts, $atts) . '>
             ' . do_shortcode('[img src="' . $image . '" alt=" "][/img]') . '
             </a>
         ';
     } else {
         $html = '';
         $firstItem = false;
     }
     ctGalleryGroupItemShortcode::$counter++;
     return $html;
 }