Noob needs help with featured content gallery display

Discussion in 'HTML & Website Design' started by sammythebull, Nov 5, 2008.

  1. #1
    Hi,

    I'm currently using a plugin for my WordPress site which cycles through the articles I want prominently featured with an image, title and short description. I'm sure you're familiar with this and have seen it many times - especially on news sites.

    My problem is, that it's zooming in on the image that it displays, yet only a portion of the image. Basically, it's taking just the upper part of the image and resizing it. How can I fix this so that it shows the entire image normally?

    Below is a partial text of the file which I think may have to do with it. I can paste more of the file if needed.

    <!-- Main image.  Note that we use the 'min' resize type so that the image is guaranteed to fill the display area. -->
    		<image filename="%image_1%" x="0" y="0" width="480" height="210" resizetype="min"/>
    Code (markup):
    Help a noob plz!
     
    sammythebull, Nov 5, 2008 IP
  2. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Did you try adjusting these two variables in that file?

    x="0"
    y="0"

    X is the horizontal axis and y is the vertical axis.

    And with those set to 0 that means it will start from the top and uppermost left corner.

    Try changing those two variables to move over however far where you want the edge of the image to begin.

    Boulder
     
    Boulder, Nov 5, 2008 IP
  3. sammythebull

    sammythebull Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you for replying.

    What measurement do I use, pixels or something else?
     
    sammythebull, Nov 5, 2008 IP
  4. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #4
    Probably just try putting numbers in there first without any extension.

    See if that works as the script might already calculate or default to what is used.

    Try just strait numbers and adjust accordingly.


    Could also try adjusting these two variables too and see if it will capture the whole image.

    width="480"
    height="210"

    Try putting:

    x="0"
    y="0"
    width="100%"
    height="100%"

    See if that works?
     
    Boulder, Nov 5, 2008 IP