1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help with ElegantThemes wordpress theme..

Discussion in 'BlackHat Lounge' started by muscleteen, Sep 14, 2010.

  1. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
    Hey guys.. Was wondering if anyone of you uses MyResume theme (or any other themes) which uses the thumbnail feature.

    My thumbnails are showing fine, but when clicking on them, the image is not displayed in full. I'm not a php coder, but I figured it was because the script made it zoom a bit on the picture.

    Here's the piece of code on top of the timthumb.php file:

    Code:
    
    <?php
    /*
        TimThumb script created by Tim McDaniels and Darren Hoyt with tweaks by Ben Gillbanks
        http://code.google.com/p/timthumb/
    
        MIT License: http://www.opensource.org/licenses/mit-license.php
    
        Paramters
        ---------
        w: width
        h: height
        zc: zoom crop (0 or 1)
        q: quality (default is 75 and max is 100)
    
        HTML example: <img src="/scripts/timthumb.php?src=/images/whatever.jpg&w=150&h=200&zc=1" alt="" />
    */
    
    

    Ideally, I'd like to set zoom crop value to 0.. But how? :S
     
  2. risefromdeath

    risefromdeath Power Member

    Joined:
    Jul 1, 2009
    Messages:
    650
    Likes Received:
    107
    set zc=0 in the call
     
    • Thanks Thanks x 1