Get Image / File URL
I am working on a block that allows for choosing an image (or file).
Currently, the image picker works and saves just fine. However, I am having trouble getting the URL to display for the selected image. Below is the code I'm using:
$ih = Loader::helper("image"); $img = File::getByID($fID); <?php echo $img->src ?>
Any ideas as to what I'm missing?