diff --git a/flextype/shortcodes/ImagesShortcode.php b/flextype/shortcodes/ImagesShortcode.php index e73b7f2e..5e583590 100644 --- a/flextype/shortcodes/ImagesShortcode.php +++ b/flextype/shortcodes/ImagesShortcode.php @@ -57,5 +57,5 @@ Shortcodes::shortcode()->addHandler('images', function(ShortcodeInterface $s) { ($s->getParameter('id')) and $attributes['id'] = $s->getParameter('id'); ($s->getParameter('alt')) and $attributes['alt'] = $s->getParameter('alt'); - return Images::getImage($s->getParameter('path'), $params, $attributes); + return Images::fetchImage($s->getParameter('path'), $params, $attributes); }); diff --git a/flextype/shortcodes/ImagesUrlShortcode.php b/flextype/shortcodes/ImagesUrlShortcode.php index 13cc07c4..f7c734d8 100644 --- a/flextype/shortcodes/ImagesUrlShortcode.php +++ b/flextype/shortcodes/ImagesUrlShortcode.php @@ -50,5 +50,5 @@ Shortcodes::shortcode()->addHandler('images_url', function(ShortcodeInterface $s ($s->getParameter('q')) and $params['q'] = $s->getParameter('q'); ($s->getParameter('fm')) and $params['fm'] = $s->getParameter('fm'); - return Images::getImageUrl($s->getParameter('path'), $params); + return Images::fetchImageUrl($s->getParameter('path'), $params); });