Access FilePath of Resource for Data URI

Is it possible to access the file path of a cropped/resized image (page resource), so that it can be read with readFile and then converted to a data uri with base64Encode ?

I’ve had no luck so far, but I’m currently stuck at getting the path to the 100x100 resource that was generated. All I can get is the RelPermalink and Permalink which are both not what I need (i think).

Thanks :slight_smile: