March 21, 2013 at 9:13 pm #1386
I have several custom fields setup that are images. I enter the correct Meta Key in the WPUF form field, but uploaded images don't connect.
my_image_customfield —–> I take this pre-existing custom field and set it up in a WPUF image upload field —–> I go to the front end to use the WPUF form and create a post —–> The uploaded image doesn't appear
ThanksMarch 21, 2013 at 9:23 pm #1387
Can you check the media section in admin panel and also the post edit screen in the admin panel and make sure the image is not uploaded?March 21, 2013 at 9:46 pm #1388
The image is in the media library, but does not appear in the front end dash, or in the back end post edit.March 21, 2013 at 9:55 pm #1389
Thats weird, if the image is in the media library, it should be attached to that post. And it should also be the back end post edit “WPUF Custom Fields” meta box. Can you regenerate the problem in the plugin demo area?March 21, 2013 at 10:04 pm #1390
Tried it here to a lesser extent:
Is there a more in-depth documentation than the readme file that comes in the plugin?March 21, 2013 at 10:11 pm #1391
Seeing the post, I can see that the image has been uploaded and attached to the meta key.
There is documentation, but not yet extensive. Like the free version, if you are expecting the images will be shown in the post automatically, that doesn't happen in the pro version. There were lots of complain about the auto image appending feature, thats why I removed it.
In the documentation FAQ area, there is a code snippet to show those images from a meta key. Let me know if thats enough for you.March 21, 2013 at 10:34 pm #1393
Tried adding that code to the theme's functions file and the plugin's wpuf-functions.php file. Is there somewhere else I should be adding it?
Can I contract you to take a look?March 21, 2013 at 10:37 pm #1394
Oh, you added the code in wrong place. Trying adding the code in your themes
single.php. That should work.March 21, 2013 at 10:44 pm #1395
I'm using the Headway theme, which doesn't have a single.php fileMarch 21, 2013 at 11:06 pm #1396
MahiMemberPost count: 1555
@pmacadams – then it can be page.php or post.php
We dont have any experience with Headway theme. Better can you share a screenshot of your theme files ?March 21, 2013 at 11:12 pm #1397
Looks like I can't upload photos here. I can give you admin/ftp access through email. email@example.comMarch 21, 2013 at 11:21 pm #1398
MahiMemberPost count: 1555
email us – support@ wedevs.com
We need to know which file is using to show up single posts.
as you mentioned uploaded image not attaching in to post, i might require admin details as well then.March 22, 2013 at 5:37 am #1401
The photos are uploaded fine, they are in the media gallery and perfectly attaching to the post. The uploaded image attachment ID are stored in the meta, which is also working nicely. I can't really make sense whats happening, why the images aren't showing. Can you forward your ftp details so I could take a look trying debugging?March 22, 2013 at 3:35 pm #1413
I tried to debug, but the value was returning blank. That was not understandable why was that happening. May be some other plugin was overriding the same meta key? No idea. I changed the meta key in the form, seems like that fixed it. Now I see the image in edit screen at frontend and backend.March 22, 2013 at 4:56 pm #1417
That makes sense. My other plugin that is creating custom fields may be in conflict. I took the new Meta Key you created for that image upload, and tried inserting it into the other plugin, which caused a conflict.
Now that the image upload works, could you specify how to insert it into a post?
Thank you for all this!
The topic ‘Image Upload on form doesn't link to my custom field using Meta Key field’ is closed to new replies.