Products
Search all products
Find a plugin by name, platform, or task.
Gravity Perks
Add powerful features to Gravity Forms.
Gravity Connect
Connect your forms to the services you use.
Gravity Shop
Custom products with Gravity Forms + WooCommerce.
Solutions
Free plugins
Free Plugins
Find a small plugin for a specific task
Spellbook
Free
Discover, install, and manage plugins
Snippet Library
Code recipes for custom requirements
Resources
Documentation
Installation and setup guides
Blog
News, tutorials, and ideas for your next form
Customer stories
See what other builders have made
Ask the Wizards
Work through your project with the wizards
Testimonials
Hear from the people building with Gravity Wiz
About Gravity Wiz
Our story, our team, and life at Gravity Wiz
Support
Pricing
Account
Snippets
GP Media Library
Snippet Library
/
GP Media Library
php
Delete Previous Image
Experimental Snippet 🧪
php
Add terms to new Media Library files.
Experimental Snippet 🧪
php
Populate ACF Image Fields in User Profile
Set the user profile image using image uploaded via Gravity Forms.
php
Add A Size to the List
php
Add A Custom Size
php
Ajax Upload
Upload images to the Media Library as they are uploaded via the Gravity Forms Multi-file Upload field.
php
Add Support For a Custom ACF Field Type
php
Attach Files uploaded via GPML to Posts created with GFAPC + ACF
Attach Files uploaded via GPML to Posts created with GFAPC + ACF
php
Merge Tag for Media Library IDs
Adds support for fetching a comma-delimited list of attachment IDs after GPML has imported the files into the Media Library....
php
Attach Files to Source Post
Attach GPML-imported files to the post from which the entry was submitted.
php
Return All Available Image Sizes For Image Merge Tags
php
Change Upload Directory
Customize the directory to which GP Media Library will import files for a specific form or field.
php
Set a Custom Class For the Linked Image
php
Set Uploaded Image Data
php
Set Uploaded Image Data by Field Value
php
Filter Supported Field Types
php
Upload the Original Image and the Thumbnail