Get Image Block's Src Path
Permalink
If I'm getting the block with this:
And it outputs the image ok with this:
How can I get just the file's src path?
All the functions etc... don't work on blocks?
Thanks.
$image = $page->getBlocks('News Image');
And it outputs the image ok with this:
$image->display();
How can I get just the file's src path?
All the
getRelativePath();
Thanks.