Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6875

    I’m trying to emulate having the column images on the demo page by manipulating the index file. I don’t know php and I can’t get any images to show unless I change the code from this:

    $placeholder_image1 = get_bloginfo(‘template_url’).’/files/medium1.jpg';

    #$placeholder_image2 = get_bloginfo(‘template_url’).’/files/medium1.jpg';

    #$placeholder_image3 = get_bloginfo(‘template_url’).’/files/medium1.jpg';

    to this:

    $placeholder_image1 =(‘http://locallifetacoma.org/wp-content/webimages/icon_about_us.jpg’);

    #$placeholder_image2 =(‘http://locallifetacoma.org/wp-content/webimages/twofivetreesllfrontsmall.jpg’);

    #$placeholder_image3 =(‘http://locallifetacoma.org/wp-content/webimages/chalkboard.jpg’);

    or this:

    $placeholder_image1 = get_bloginfo(‘template_url’).’/files/icon_about_us.jpg';

    #$placeholder_image2 = get_bloginfo(‘template_url’).’/files/twofivetreesllfrontsmall.jpg';

    #$placeholder_image3 = get_bloginfo(‘template_url’).’/files/chalkboard.jpg';

    Except then the mainpage just displays whatever the first image is for all three. Take a look: http://locallifetacoma.org.

    How do I fix this so I can have three different images? Is there a way within the wpadmin backend? It doesn’t show an option for an image when you select “page” or anything like that.

    #55753

    OK, I just selected ‘page’ from the backend options for column 1. It pulls in the image but that particular image is fairly large and it pulls in all the text from the whole page. Is there a way to just display a little text and a uniform image like in the demo? I guess we can post uniform images in the pages. It’s not the most convenient but it is workable. I would rather not have tons of text at the bottom though. The only advantage is maybe helping with SEO. Though I’m new to SEO too so I don’t know.

    #55754

    OK I followed the instructions in the documentation to set the chmod of the cache folder to 777 for the timthumb script. I even set the files inside and the display folder above it to 777 (is that a bad idea?). It still isn’t working and either way we still have the same problem with the text not breaking sooner.

    Please help?

    #55755

    Ok, I read the rest of the documentation about how the theme just follows the page break from the wysiwyg and I also followed the instructions on utilizing the Display image options at the bottom of an edit page. It works! I’m very happy with this theme!

    #55756

    Hey,

    The code dictating the image path and size is commented out. Replace this code:

    $placeholder_image1 = get_bloginfo('template_url').'/files/medium1.jpg';
    #$placeholder_image2 = get_bloginfo('template_url').'/files/medium2.jpg';
    #$placeholder_image3 = get_bloginfo('template_url').'/files/medium3.jpg';

    $placeholder_image1 = kriesi_build_image(array('url'=>$placeholder_image1,'height'=>'124','width'=>'280'));
    #$placeholder_image2 = kriesi_build_image(array('url'=>$placeholder_image2,'height'=>'124','width'=>'280'));
    #$placeholder_image3 = kriesi_build_image(array('url'=>$placeholder_image3,'height'=>'124','width'=>'280'));

    with this:

    $placeholder_image1 = get_bloginfo('template_url').'/files/medium1.jpg';
    $placeholder_image2 = get_bloginfo('template_url').'/files/medium2.jpg';
    $placeholder_image3 = get_bloginfo('template_url').'/files/medium3.jpg';

    $placeholder_image1 = kriesi_build_image(array('url'=>$placeholder_image1,'height'=>'124','width'=>'280'));
    $placeholder_image2 = kriesi_build_image(array('url'=>$placeholder_image2,'height'=>'124','width'=>'280'));
    $placeholder_image3 = kriesi_build_image(array('url'=>$placeholder_image3,'height'=>'124','width'=>'280'));

    Save and upload the modified index.php – all 3 images should display properly afterwards.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Display Mainpage Column Pictures’ is closed to new replies.