Home / Forums / DynamiX Support / Disabling Timthumb on Blog Page or on Featured Images?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • Phil
    Participant

    I was wondering if it is possible to disable Timthumb on featured images or for the whole blog page?  I know there is an option in the general settings but I don’t want to disable it for the whole site, just the blog page/featured images.

    Andy
    Andy
    Keymaster

    Hi Phil,

     

    You’ll have to modify some files but it’s possible. Enable it by default and then edit the following files:

     

    DynamiX/archive.php

    DynamiX/blog.php

    DynamiX/index.php

     

    Search for the following line of code in each file;

     

    $DYN_imagepath = get_bloginfo('template_directory')."/lib/scripts/timthumb.php?h=". $DYN_arhimgheight ."&w=". $DYN_arhimgwidth ."&zc=". $DYN_imgzoomcrop ."&src="; 

     

    change that line to

     

    $DYN_imagepath = '';

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.