Support » Plugins » TimThumb and NextGen in widgetmode

  • In two places I use `<?php
    if (function_exists(“nggDisplayRandomImages”))
    { nggDisplayRandomImages(amount,width,height,’denied’,’2′); }
    ?>` to display random images from my gallery’s.

    By modifying widgets.php in NextGen folder I can with help from TimThumb both crop and change size of my images in widgetmode without they get messed up. But the problem is that since I use the nggDisplayRandomImages in two places I dont want them to be effected by TimThumb in the same way, in one place I want to show one picture in size 190×148 and in another in size 69×45. If I use TimThumbs &h=45&w=69&zc=1 in widgets.php all images get that size. I I leave size out, and uses size in the nggDisplayRandomImages all images becomes messed up and blury.

    So I’m thinking, is their anyway to use TimThumb directly in the nggDisplayRandomImages so that each display only gets effected and still looks good? Something like nggDisplayRandomImages(<strong>before</strong>, <strong>after</strong>,amount,width,height,'denied','2'

    Anyone have any idea, solution or similar?

  • The topic ‘TimThumb and NextGen in widgetmode’ is closed to new replies.