The MU forums have moved to WordPress.org

Trouble with Custom Image Headers in K2 Theme with 1.3.3 (7 posts)

  1. bwinn
    Member
    Posted 16 years ago #

    I have the brand new version of WPMU 1.3.3 and I am having difficulty uploading custom header images. I can get to the point where I crop the image but when I click to upload, the page refreshes and nothing is there. Anyone ran into this issue?

  2. thecuriousfrog
    Member
    Posted 16 years ago #

    What version of K2 are you using? The current nightly builds (I use r632) have excellent support for WPMU. If your using an older version I would recommend upgrading to the latest build to see if this fixes your problem.

  3. bwinn
    Member
    Posted 16 years ago #

    Can you send me the url to the download page? thanks

  4. mzeecedric
    Member
    Posted 16 years ago #

    get k2 from http://getk2.com or directly out of svn http://kaytwo.googlecode.com/svn/

  5. bwinn
    Member
    Posted 16 years ago #

    i just downloaded the newest version and I still get the same exact problem. I dont get it

  6. martzin
    Member
    Posted 15 years ago #

    For random headers change functions.php
    line 11:
    define('K2_HEADERS_PATH', TEMPLATEPATH . '/images/headers/');
    to
    define('K2_HEADERS_PATH', ABSPATH . UPLOADS . 'k2support/headers/');
    Tested on 1.0-RC7

  7. martzin
    Member
    Posted 15 years ago #

    After more investigation I found bug in K2 which lead to limit headers in drop down menu to one.
    Edit this:
    header.php
    line 53
    $attachment_ids = (array) $wpdb->get_col("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = 'k2-header-image'");
    Now images are stored in blog.dir/blog_id/files/yyyy/mm, and data is added to wp_X_postmeta

About this Topic