Gravity Perks Weekly Updates #5

Almost a month into the New Year and Gravity Wiz team is chugging right along. Here’s what we’ve been working on this week.

GP Media Library now supports image merge tags for images uploaded via media-library-enabled File Upload fields. You can select the desired image size and alignment or output the URL for a specific size (any of the options here). Here are a few examples:

  • {File:1:medium}
  • {File:1:large:url}
  • {Multi-file Upload:2:thumbnail:right}

GP Live Preview has added support for filtering the preview template via the gplp_preview_template filter. This allows you to configure the Live Preview to display on any template you’d like.

GP Copy Cat has added support for copying to/from a specific list field column or input. One use of this is to copy the values selected in a checkbox field to a specific column of a List field. Pretty cool!

Read on for a full list of this week’s Gravity Perks changes.

GP Media Library (v1.0.2)

  • Fixed fatal error when download_url() function failed.
  • Updated upload_to_media_library() function to use original Gravity Forms image.
  • Added support for image merge tags (i.e. {File:1:medium} and {Multi-file Upload:2:thumbnail:right}).

GP Conditional Pricing (v1.2.26)

  • Fixed issue where quantity validation was incorrectly bypassed for Single Product fields.
  • Fixed issue where Time fields did not correctly trigger pricing update.
  • Fixed conflict with GF where GPCP was overwriting format() function.

GP Live Preview (v1.2.4)

  • Added ‘gplp_preview_template’ filter to allow filtering the preview template. See example.

GP Copy Cat (v1.4.5)

  • Added support for copying to/from a specific List field column or input.
  • Fixed issue where copying to a clickable field would not correctly “check” the field.
  • Updated to only select inputs from inside the .ginput_container class.
  • Added ‘gpcc_copy_cat_fields’ filter to allow adding copy cat fields programmatically. See example.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.

"I unsubscribe from every newsletter I get except yours."

Join 25,000 readers and be the first to know of legendary discounts, new releases, free snippets, and other secret sorcery!