Support » Fixing WordPress » Image Tags

  • DomFel

    (@domfel)


    Hello folks,

    This is my problem: let’s assume I’ve got a picture on my server with a 640×480 resolution, and I would like to post a clickable preview inside an article (using WP 1.5) but of a smaller size and with a little border. How could I do that? I know that it’s a newbie question, but I would really like to know all the tags (border size, border colour, etc…) that can be used for pictures in a preview/link.
    Thanks for your help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Enable File Uploads by going to Options/Miscellaneous and selecting “Allow File Uploads” and entering the correct values. Once done, go to the “Uploads” button in your admin toolbar, select the image you want to upload, and choose the thumbnail size. The appropriate HTML code will be given to you after uploading.

    DomFel

    (@domfel)

    You’re the man!

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    That’s my middle name. ^_-

    DomFel

    (@domfel)

    Uhm… The code that it gives to me is:
    <img src='http://www.mywebsite/wordpress/wp-content/images/thepicture.JPG' alt='What I want' />

    and it’s not a preview of the image, but it’s the image resized to 200px. What’s wrong in the code then?
    I want a thumbnail that when you click on it a new page open up with the full size image.

    statichavoc

    (@statichavoc)

    just put -thumb at the end of the img url

    statichavoc

    (@statichavoc)

    <img src='http://www.mywebsite/wordpress/wp-content/images/thepicture-thumb.JPG' alt='What I want' />

    DomFel

    (@domfel)

    -thumb doesn’t work.

    statichavoc

    (@statichavoc)

    er well just use http://ftp... and go see what the default naming convention is for thumbs… it should be in your wp-content folder

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    My apologies, for some reason I though thumbnail generation would be automatic (I always post small pictures and leave the pictures to my gallery, but never link the two). You may want to take a look at this plugin: http://davidseah.com/projects/lzil (it mentions being tested in WP v1.2.2, but it should work in v1.5 as well).

    DomFel

    (@domfel)

    statichavoc

    (@statichavoc)

    you can just create that for images in your entries via css like this…


    .entrytext img {
    border: solid 1px #000;
    }

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Image Tags’ is closed to new replies.