Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • davib Friend
    #152103

    HI,

    I need help with the Thumbnails plugin. It works nicely everywhere on the site EXCEPT for the content-mass section.

    I want the thumbnails to be 180 X 90 and some of them are but others are made 80 X 80 and I dont understand why.

    the site is at sunshinecoastaeroclub.com.au

    I would really appreciate it if someone could assist.

    Thanks

    Saguaros Moderator
    #348453

    yes. it’s the conflicting bug bettween the ja thumbnail and the module: pls fix this as following:

    1) Open the file /modules/mod_ja_contentslide/helper.php and try to find the following code:
    [PHP]

    $data[$i]->text = $data[$i]->introtext;

    $mainframe->triggerEvent( ‘onPrepareContent’, array( &$data[$i], &$params, 0 ) , true );

    $data[$i]->introtext = $data[$i]->text;

    $image = modJaContentslideHelper::parseImages( $data[$i], $params );

    if( $image ) {

    $data[$i]->image = modJaContentslideHelper::renderImage( $row->title,

    $image,

    $params,

    $params->get( ‘iwidth’ ),

    $params->get( ‘iheight’ ) ) ;

    }

    else {

    $data[$i]->image = ”;

    }

    [/PHP]
    replace:
    [PHP]
    $data[$i]->text = $data[$i]->introtext;

    $image = modJaContentslideHelper::parseImages( $data[$i], $params );

    if( $image ) {

    $data[$i]->image = modJaContentslideHelper::renderImage( $row->title,

    $image,

    $params,

    $params->get( ‘iwidth’ ),

    $params->get( ‘iheight’ ) ) ;

    }

    else {

    $data[$i]->image = ”;

    }
    $mainframe->triggerEvent( ‘onPrepareContent’, array( &$data[$i], &$params, 0 ) , true );

    $data[$i]->introtext = $data[$i]->text;
    [/PHP]

    Good luck

    davib Friend
    #348824

    Hi mate,

    sorry it took so long to get back to you.

    This worked perfectly..thanks so much for your support. Its a beautiful template but beyond my expertise to play with the code!

    Thanks again

    davib Friend
    #350660

    HI,

    I did the above and it seemed to work but now its doing the same thing. Can you have another look please?

    Saguaros Moderator
    #350837

    sorry, can you pls explain this one on detail, if possible give me some link, or anything esle , i would like to check the issue in detail

    thanks

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

This topic contains 5 replies, has 2 voices, and was last updated by  Saguaros 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum