Title: mtz's Replies | WordPress.org

---

# mtz

  [  ](https://wordpress.org/support/users/mtz/)

 *   [Profile](https://wordpress.org/support/users/mtz/)
 *   [Topics Started](https://wordpress.org/support/users/mtz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mtz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mtz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mtz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mtz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mtz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Dynamic Headers] dh_get_image_alt() and custom wp-content folder](https://wordpress.org/support/topic/plugin-dynamic-headers-dh_get_image_alt-and-custom-wp-content-folder/)
 *  Thread Starter [mtz](https://wordpress.org/support/users/mtz/)
 * (@mtz)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-dynamic-headers-dh_get_image_alt-and-custom-wp-content-folder/#post-1523739)
 * adding this
 * 1) First thing i made work myself, here is the code:
 *     ```
       // START added by mtz
       function dh_get_page_image_alt() {
       	$load_this_media = get_media_header_url();
       	if(get_option('dhnd_'.$load_this_media.'_alt') != ""){
       		return get_option('dhnd_'.$load_this_media.'_alt');
       	} else {
       		return "";
       	}
       }
       // END added by mtz
       ```
   
 * 2) Looking at the code, custom wp-content-folders seem to be implemented here
   and there – but the backend plugin page kept showing me an error message.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Get Image] gi_medium() not working](https://wordpress.org/support/topic/plugin-get-image-gi_medium-not-working/)
 *  [mtz](https://wordpress.org/support/users/mtz/)
 * (@mtz)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-get-image-gi_medium-not-working/#post-972520)
 * hi, i fixed it. very trvial! there is a mad typing error in line 91:
 * it shouldnt be:
    `$images = gi_library('madium', '', false, 'array');`
 * but
 * `$images = gi_library('medium', '', false, 'array');`
 * now it works fine even in wordpress 2.71.

Viewing 2 replies - 1 through 2 (of 2 total)