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

    Hi,

    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.

    Regards

    lawyerlinguist Friend
    #1093210

    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 6 years, 2 months ago.

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