concrete/src/Html/Image.php
protected function loadPictureSettingsFromTheme()
    {
        $c = Page::getCurrentPage();
        if (is_object($c)) {
            $pt = $c->getPageController()->getTheme();
            if (is_object($pt)) {
                $pt = $pt->getThemeHandle();
            }
            $th = Theme::getByHandle($pt);
            if (is_object($th)) {
                $this->theme = $th;
                $this->usePictureTag = count($th->getThemeResponsiveImageMap()) > 0;
            }
        }
    }
protected function loadPictureSettingsFromTheme()
    {
        $c = Page::getCurrentPage();
        if (is_object($c)) {
            $pt = $c->getPageController()->getTheme();
            if (is_object($pt)) {
                $pt = $pt->getThemeHandle();
            }
            $th = Theme::getByHandle($pt);
            if (is_object($th)) {
                $this->theme = $th;
                $this->usePictureTag = count($th->getThemeResponsiveImageMap()) > 0;
            }
        }
    }
protected function loadPictureSettingsFromTheme ( ) { $ c = Page :: getCurrentPage ( ) ; if ( is_object ( $ c ) ) { $ pt = $ c -> getPageController ( ) -> getTheme ( ) ; if ( is_object ( $ pt ) ) { $ pt = $ pt -> getThemeHandle ( ) ; } $ th = Theme :: getByHandle ( $ pt ) ; if ( is_object ( $ th ) ) { $ this -> theme = $ th ; $ this -> usePictureTag = count ( $ th -> getThemeResponsiveImageMap ( ) ) > 0 ; } } }
Load picture settings from the theme.

If the theme uses responsive image maps,
the getTag method will return a Picture object.
Load picture settings from the theme .