Title: image base64 conversion
Last modified: July 1, 2022

---

# image base64 conversion

 *  [IT Hertz](https://wordpress.org/support/users/it-hertz/)
 * (@it-hertz)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/image-base64-conversion/)
 * I have a signature field (drawing box) in CF7 that your plugin saves as base64.
   I need it to save as jpeg or png.
 * The [CFDB7](https://wordpress.org/plugins/contact-form-cfdb7) plugin saves it
   as a .png file.
 * Without digging into your plugin files, I’ll ask here: can I do this with your
   plugin using an action or filter function? Is there a hook?
 * Also, every field is saved to db, including hidden and empty ones. Is there a
   way I can selectively save desired fields?
    Having empty fields saved can result
   in bad aesthetics. For example, I’m building a school site with specific user
   roles allowed to view registration form submissions for approval/denial. This
   form provides for 5+ students, so there can be quite a lot of data if all are
   used. But, when only 1 or 2 students enroll, the superfluous, empty data of the
   unused toggled-out sections causes clutter of the form results page that these
   roles will view. They have to scroll way down from student #1 through the empty
   student fields to get to the bottom signature field. This also makes printouts
   less attractive and wastes paper and ink/toner.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [sbazzi](https://wordpress.org/support/users/sbazzi/)
 * (@sbazzi)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/image-base64-conversion/#post-15793099)
 * Hey [@it-hertz](https://wordpress.org/support/users/it-hertz/),
 * I hope all is well, we currently do not have a hook for this,
 * Feel free to contact us at crmperks.com and we will do our best to find a solution,
 * Thank You – Sam

Viewing 1 replies (of 1 total)

The topic ‘image base64 conversion’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-entries/assets/icon-256x256.png?rev=1926543)
 * [Database for Contact Form 7, WPforms, Elementor forms](https://wordpress.org/plugins/contact-form-entries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-entries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-entries/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-entries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-entries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-entries/reviews/)

## Tags

 * [format](https://wordpress.org/support/topic-tag/format/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [selective](https://wordpress.org/support/topic-tag/selective/)

 * 1 reply
 * 2 participants
 * Last reply from: [sbazzi](https://wordpress.org/support/users/sbazzi/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/image-base64-conversion/#post-15793099)
 * Status: not resolved