• In my Wp theme thumbnail images are automatically get cropped .All my images are large size and so my thumbnails show only a part of the original image.
    I searched in internet and found an article http://www.binarymoon.co.uk/demo/timthumb-zoom-crop/.

    It says No cropping will occur and it will adjust automatically to fit the container size if if we set –zc = 0: Resize to Fit specified dimensions (no cropping)– like timthumb.php?src=atlantis-dock.jpg&zc=0—

    But i don’t know how to implement it in TimTHumb.php.
    You guys kindly help me to do it.

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

    (@fbgiant)

    kindly help me

    Tim Thumb scripts have had a history of being the cause of many hacks — to the point that many servers won’t even let them run. So you may want to avoid using them. There are probably other ways of doing what you want to do — what theme are you using?

    Thread Starter fbgiant

    (@fbgiant)

    I am using photoria theme.
    I don’t know how to do it in other ways.
    I am not a coder actually.

    Thread Starter fbgiant

    (@fbgiant)

    WTF.
    No one here to answer me?…
    No problem.
    I managed to do it myself.
    there was a file mytheme_recent_posts.php and in that file there was a code—

    <img src=”<?php bloginfo(‘template_directory’); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=250&w=300&zc=0″ width=”300″ height=”250″ alt=”<?php the_title(); ?—

    And i changed zc=0 to zc-1 as i required.
    Thank You .
    NB:Now I feel pity of this forum that no one replies to such a silly problem even after many requests from me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘help me to edit my TimTumb.php’ is closed to new replies.