Please Note: We are no longer using forums to facilitate standard support. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

create image title from file name

  1. sascha
    Member

    Hi again,
    is there a way to use the file name (from post image field) and set it automatically as the title and alt text for that image?

    Posted 3 years ago on Monday December 5, 2011 | Permalink
  2. You could do this with the gform_post_data hook . You would access the file name, then update the post to set the alt and title to that value.

    You could also do it in your post template. It does not have to be done with Gravity Forms.

    Posted 3 years ago on Monday December 5, 2011 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only