File upload files to wordpress media library with all sizes

Hi,

I builded a form with file download images that I use to build custom post type with the gform_after_submission hook.

Gravity stores his files in his custom folder but without sizes configured from the Settings > Medias.

I need to use this file as featured image for my post and I can’t use the_post_thumbnail function…

Is there a setting for that or what I need to do to achieve this ?

Hi Jean. By default, only the Post Image field will upload files to the Media library, and the other image sizes will be created at that time. If you use a post image field, this should be happening already when the file is submitted.

If you want to use the File upload field, Gravity Wiz has a perk which can move the files to the media library and create the proper image sizes at the same time:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.