I just installed NewsShow Pro GK4 v3.3.3 and found out that it is not resizing my images and not caching as well. So I check the code gk.thumbs.php and looking at getRealPath() the variable $start at line 71 assumes all default Joomla, K2, Virtuemart image path folder.
Since I changed my default Image Path in Media Manager, NSP module cannot find the realpath.
Looking back at gk.thumbs.php line 71:
- Code: Select all
$start = ($k2_mode || $vm_mode) ? (($k2_mode) ? strpos($path, 'media/') : strpos($path, 'components/')) : strpos($path, 'images/');
If you remove 'images/' and simply make it '' regardless of what is the default media folder NSP module should work properly.
- Code: Select all
$start = ($k2_mode || $vm_mode) ? (($k2_mode) ? strpos($path, 'media/') : strpos($path, 'components/')) : strpos($path, '');
Gavick Team, may I request to make this change to the code so I/We don't need to make code modification after each upgrade. It is something that doesn't affect NSP functionality but it will make it work properly instead regardless of how user setup their Joomla.
Thank you!