The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Image Credit
Credit Info Not Saving (3 posts)

  1. Mark Root-Wiley
    Posted 4 years ago #

    On my local test install, the credit information doesn't seem to be saving on an existing image both when saved in the media library and entered directly on the insert image dialogue.

    Additionally, when editing the image in the media library, it seems the plugin added an "Insert into Post" button even though that doesn't work.

    Are others experiencing this issue?


  2. Jon Brown
    Posted 4 years ago #

    same problem

  3. hatesspam
    Posted 4 years ago #

    If I add

    add_filter('attachment_fields_to_save', 'wp_image_credit_save_credit', 10, 2);
    function wp_image_credit_save_credit($post, $attachment) {
      update_post_meta($post['ID'], WP_IMAGE_CREDIT_META_NAME, $attachment['credit']);
      update_post_meta($post['ID'], WP_IMAGE_CREDIT_META_NAME_LINK, $attachment['credit_url']);
      return $post;

    it seems to work (though I cannot get the credit link to work).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Image Credit
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic