Support

Account

Home Forums General Issues Querying a subfield to retrieve an image Reply To: Querying a subfield to retrieve an image

  • Hi @jonnyboggon

    I’m afraid I don’t quite understand the issue, so please forgive me if I’m wrong.

    The string you got is called serialized string. You can convert it to an array by using the unserialize() function like this:

    $image_ids = unserialize($image_id);
    $cropped_id = $image_ids['cropped_image']

    Because this is more related to PHP, for further support kindly get in touch with PHP community.

    If that’s not what you want, could you please explain the issue again in more detail?

    Thanks 🙂