Forums

Can't get a jpg to display in full size (7 posts)

  1. Zerowaster
    Member
    Posted 2 years ago #

    I cannot find a simple statement of what version of WordPress I am using but I found 2.8 mentioned.

    My HTML edit shows this being used to display a jpg
    <img src="http://zerowasteinstitute.org/wp-content/uploads/2009/11/galaxyreview.jpg" alt="galaxy behind text" width="1050" height="1182" />
    but the jpg specified takes up only half of the screen and since it contains text, it is illegible. This same HTML statement used to display the page perfectly, about four times larger, before I went to WordPress. Now the height and width specifications are ignored. It makes no difference if I double them or omit them.

  2. blondishnet
    Member
    Posted 2 years ago #

    Are you using this in a post? According to the zerowasteinstitute.org site, your content area is much smaller.

    You might want to specify a class or better yet, make a division layer that has display:block in your CSS with the height and width you want. Then you place the image you have within that division layer.

    Example CSS:

    #galaxyreview-img {
      display: block;
      height: 1182px;
    }

    Example division layer

    <div id="galaxyreview-img">
    <img src="http://zerowasteinstitute.org/wp-content/uploads/2009/11/galaxyreview.jpg" alt="galaxy behind text" width="1050" height="1182" />
    </div>
  3. Zerowaster
    Member
    Posted 2 years ago #

    Blondishnet: Are you implying that there is no simple way, using the visual view especially, to get the jpg to behave and obey the height and width specs? I would have to do a good bit of research and learning to apply your fixes. Am I encountering a bug of some sort? Or am I making a rational error to imagine that I should be able to specify height and width in this situation?

  4. Zerowaster
    Member
    Posted 2 years ago #

    What does it mean when you say my content-area is much smaller? What is my content area? I took over correcting this site from someone who dumped it on me and I am struggling to figure out WordPress.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    the way content is displayed on your wordpress site is controlled by your theme.

    the style.css file controls look and layout.... so in your visual editor, you can't really just tell it to do whatever in html and expect it to work, as your css stylesheet is controlling display

  6. blondishnet
    Member
    Posted 2 years ago #

    Yes... RVoodoo is correct. Your content area is where your pages and posts that you write will appear.

    @Zerowaster - if that image is in a post, just leave a link to it and tell people to right click in a new window so they can view it. Naturally in the browsers, even if they have a larger resolution (like myself, I have 1280x1024), the image will be reduced. All you have to do is click on the image and it will expand (if you were not aware of that already.)

  7. Zerowaster
    Member
    Posted 2 years ago #

    Blondishnet:
    I was not aware of the ability to enlarge the picture by clicking on it. Thanks for mentioning it. That makes the picture quite legible. I know it isn't the ultimate answer, which I may figure out someday, but I think I can work with that feature. I'll tell the reader to click on the picture.

Topic Closed

This topic has been closed to new replies.

About this Topic