XF 2.3 How to get attachment thumbnail url?

I was able to get an attachment (image) url with this:
Code:
$context.thread.cover_image
Is there any way to get the thumbnail url?
Thanks!

PS: I'm referring to the thumbnail generated by these settings: /admin.php?options/groups/attachments/
 
Attachments aren't hydrated there, so no.
Is it possible to get the first attachment from xfrm_resource_view to show that as OG:IMG?

like for the Resource Icon, I can simply use arg-imageUrl="{{ $resource.getIconUrl('s', true) }}"

I am looking for how I can show the first attachment which is attached to the resources description box.
 
Back
Top Bottom