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


    You will need to customize the plugin a bit:

    • Go to file: root/plugins/jamegafilter/k2/helper.php
    • Look for this snippet of code (at approx line 97):
      if (JFile::exists(JPATH_SITE . '/media/k2/items/cache/' . md5("Image" . $baseItem->id) . '_L.jpg'))
      $item->thumbnail = 'media/k2/items/cache/' . md5("Image" . $baseItem->id) . '_L.jpg';

    You can see that by default, the plugin loads large size _L.jpg if you want to show other image sizes, you can replace the suffix L to other like _M.jpg, _S.jpg, _XL.jpg, _XS.jpg equivalent to Medium, Small, XLarge, XSmall size

    Save your changes and go to backend > Components > JA Mega Filter > Index the K2 filter again, you will see the changes in frontend.


    lawyerlinguist Friend

    thank you very much!

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

This topic contains 2 replies, has 2 voices, and was last updated by  lawyerlinguist 4 years, 11 months ago.

The topic ‘Ja MegaFilter image size.’ is closed to new replies.