Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the function theme_image_style seems doesn't work with storage api, it still returns internal url.
$variables = array(
'style_name' => 'thumbnail',
'path' => $uri,
'width' => '',
'height' => '',
);
$thumbnail .= theme_image_style($variables);
Comments
Comment #1
jbrown CreditAttribution: jbrown commentedwhat URI are you passing it?
Comment #2
rogical CreditAttribution: rogical commentedthanks, its solved by update the image style settings with storage setting.