Get the page origine url of an object

Hey there,

I was wondering how would I get the original page of an object ?

To be clear, I would need this: $image->originalpageurl()

Thanks a lot :slight_smile:

You mean the parent page?

$image->parent()

gives you the parent page of the file.

So easy… thanks a lot!