I have searched all over this forum and outside for some help with this issue I'm having.
I want to extract the photo file url via the Entry object.
I've tried calling the entry object post image from an action hook on gform_after_submission.
All works well except when I need to get the data. I test it with...
<script>alert('<?php echo $entry; ?>');</script>
but the output I get in an alert box for this is:
I've tried using the php explode function, to give me just the URL, but cannot split it using a seperator of '|:|'
My aim is to resize all uploaded images by calling a resize php class function whenever there is an image upload in the form, It may be better to call the action before submission I suppose? I want to keep the images reduced in all areas of wordpress, inc the media library.