Skip Navigation

[Resolved] Featured image not uploaded in front-end form

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Waqar 5 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#1329835

I am trying to upload Featured Image from Cred form

Link to The form page the issue can be seen: hidden link

In form I see that the image is uploaded - but when saving the form the Featured image is not included in post.
This happens when I pick from Media library or upload

#1329899
#1330487

Hi Thomas,

Thank you for waiting.

I've performed some tests on my website with a similar form and settings, but couldn't reproduce this issue.

Was your website migrated from a different domain/address than the current one ( hidden link )?

I'm asking because we've recently identified an issue which affects only those images which were uploaded when the website had a different domain/address than the current one. In that case, such images are not set as featured image, when selected through Toolset Form.
( more details at https://toolset.com/forums/topic/featured-images-not-saving-through-toolset-form/#post-1327099 )

As a simple test, you can first try to select a featured image which was uploaded before the migration and next use an image which was uploaded after the migration.

Note: In my test with your form, the newly uploaded image is selected as a featured image, correctly.
( hidden link )

If it is confirmed through your tests too that this is only happening with the pre-migration images, this means it is the same issue and a fix for this has been planned to be included in Toolset Forms version 2.5.1.

I hope this helps and please let me know how it goes.

regards,
Waqar

#1331347

Thank you for looking into this.

Yes the settings should be all fine so there is a bug somewhere.

I have indeed migrated the site BUT that is a week ago, and this problems started just two days ago.

Please feel free to replicate the issue on my site.

Try e.g. this form: hidden link

The image of the car works fine - wmotors_muse_banner_img_01.jpg
(Uploaded yessterday)

But the image IMG_2521.jpg uploaded just before does not work: It seems very random what images work and not work

The filenames shoud be good.

I see from your testing on the site that you also have some images that are not stored. But it worked at your third try , that is the same that I experience, some works and some dont.

#1331369

Hi Thomas,

Thank you for sharing these details.

>> I see from your testing on the site that you also have some images that
>> are not stored. But it worked at your third try , that is the same that I
>> experience, some works and some dont.

- In my first two submissions, I selected "IMG_2521.jpg" image, the same that you reported.

On the third attempt, I used a newly uploaded image and it worked, as expected.

This and your observation about the "wmotors_muse_banner_img_01.jpg" image suggests that this is the same issue, which affects the images uploaded before the website's base address change.

However, for absolute confirmation, it would help if you could share the website's clone/snapshot so that I can investigate this from my own server. Since this troubleshooting requires checking database entries, I'm afraid, WordPress admin access alone won't be enough.

Here is a guide on sharing website's snapshot/clone:
https://toolset.com/faq/provide-supporters-copy-site/

I've set your next reply as private and appreciate your report.

regards,
Waqar

#1342591

Hi Thomas,

Just wanted to update that Toolset Forms 2.5.1 has been released, which includes a fix for this issue.

Please let us know if the issue still persists, after the update.

regards,
Waqar