• Resolved plzhelpme

    (@plzhelpme)


    I use the custom field: post-img.
    I want to have a default thumbnail, since I recently changed themes and will only be adding thumbnails to my new posts.

    I don’t want users to see a blank box on a post that doesn’t have an inputed image.
    How do I have a default image?

    Probably Needed Info:
    Dimensions: 200 x 200
    Custom Field Name: post-img
    I want it to link to the post.
    No styles with the image.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter plzhelpme

    (@plzhelpme)

    Thread Starter plzhelpme

    (@plzhelpme)

    I know somebody knows out there…

    Thread Starter plzhelpme

    (@plzhelpme)

    Ok, so I found a way to do it.

    However, when I use the code, the image forces the text below it.

    How do I prevent this from happening?

    I havn’t changed the coding at all. All I did was tell it to do X if there IS a custom field and B if there ISN’T. The coding is identical for both, a link to the post and the image itself. The only difference is the URL for the B since it is the default image. The default image is the right side and looks just like the other ones when displayed.

    A preview.

    Thread Starter plzhelpme

    (@plzhelpme)

    FIXED IT.
    Forgot to add an end ‘</div>’.

    Wow, I fixed that by myself.
    Sick

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

The topic ‘Default Thumbnail’ is closed to new replies.