Support » Plugin: Form Manager » [Plugin: WordPress Form Manager] How to show photos on the summary data

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hoffcamp


    Somebody else on the forums asked this, they made a custom summary template to do this. If your file upload has the nickname ‘whatever’, you would do the following:

    $file = fm_summary_get_item_value('whatever');
    $file = unserialize($file);
    <img src="<?php echo $file['upload_url'].'/'.$file['filename'];?>"/>

    This assumes you are using default options for the upload directory.

    Thank you

    Yeah except I get absolutely nothing back when I send this through. I believe I’m doing it correctly but probably not. Getting the stuff from the back end is a bit confusing. I do not see where I put in nicknames. But the label names I’m using are ‘Select Image’ ( for File Upload ), ‘Image Caption’ and a ‘Category’ dropdown with set options there. What I really need to know is what am I sending through with fm_summary_get_item_value? I mean I’ve tried ‘Image Caption’ and I get no page errors so I can only assume it’s processing however the return is empty. I do love this for getting users to participate via image upload, just trying to get it all to work together. I need a single image view page, and a wall of images but one thing at a time, eh? 😉 Also, once I get this single image view page working HOW / WHERE do I set it as the default so when someone uploads an image it is what is used to post it rather than the default one?

    Yep. Got this part working. I actually found the part about adding nicknames. And since then have gotten pretty far. Stuck at getting the post ID of all things. I just can’t seem to figure out why it won’t give it up!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress Form Manager] How to show photos on the summary data’ is closed to new replies.