Get Omeka Asset by id

hello, is it possible to have an asset (image) using its id? if so, there is a helper or similar for that task. Thanks.

There’s a couple different things we call “assets.” Do you mean the images like logos and things like that that you can upload?

There’s a helper for getting those URLs from assets that are theme settings, themeSettingAssetUrl. In other contexts you can use the regular api() helper: $this->api()->read('assets', $id), which gets you an asset representation you can call assetUrl() on to get the URL.