• Resolved aselenwall

    (@aselenwall)


    I really need some help with this. I don’t even know if it is possible, but maybe some of you WordPress masterminds can help me out.

    I’m writing a website consisting of static pages. Now, I want each Page to display a certain picture. The picture should be placed on the right side of the text. Is it possible to have one div one the left side containing just the edited text of the Page and then have a Widget Area on the right side (in its own div of course) to display specific pictures only depending on the current Page.

    Anyone who knows if this is possible in WordPress, if there are any plugins, or if I have to write my own plugin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I didn’t understood very good what are you trying to do but maybe this print screen will help you inserting images into pages

    http://i39.tinypic.com/16q7i9.png

    you have there options for right left middle large thumb

    Thread Starter aselenwall

    (@aselenwall)

    Hi Nuambenzina,

    Thanks for your reply, but that wasn’t quite what I was looking for. I will try to explain further.

    Lets say I have this layout (excluding html and body tags in my example),

    <div id=”text”>
    <? if (have_posts()): while (have_posts()): the_post(); the_content(); endwhile; endif; ?>
    </div>
    <div id=”picture”>
    </div>

    And the style sheet,

    #text {float:left}

    In div #text I would like to show the content for my Page as published in WordPress, so this text is added and published by a client of mine. But I also want my client to be able to add a picture, in the picture div, which should be shown together with the text.

    Example of my use case:
    1. Client want to add a new Page
    2. Client creates page
    3. Client adds text using the WordPress text editor (shown in #text div)
    4. Client adds a picture (shown in #picture div)

    The picture should then be shown only when opening thsi particular Page.

    I know how to do this in Concrete5 (which I have been working with before), but Concrete5 is to heavy for the webhotel where my client wants to run their site so I thought of WordPress since it is more lightweight. But that all depends on this issue.

    Hope someone can help me out.

    yes it’s possible.

    while writing a post, there’s a button/link at the right sidebar of wordpress admin panel “Featured Image”. Use that to insert the image and then use the_post_thumbnail() in the template to display that image.

    you can find more info here
    http://codex.ww.wp.xz.cn/Post_Thumbnails
    http://codex.ww.wp.xz.cn/Function_Reference/the_post_thumbnail

    Thread Starter aselenwall

    (@aselenwall)

    Hi Wetwetwafu,

    This was exactly what I was looking for. Thanks for all your help.

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

The topic ‘Need some help with a tricky(?) problem’ is closed to new replies.