The theme_path variable is used just to get to the next and previous images and in the original code it failed to be set, so we have to hardcode it at the top of the jquery.galleryview-2.1.1.js file like this:
Code: Select all
var loader_path = 'plugins/content/admirorgallery/admirorgallery/templates/galleryView/';
var theme_path = loader_path + 'themes/';However, it still fails to find the images. For it to find them, the theme_path should include the dir where joomla is installed on my server.
The problem is that it is looking for the images at:
which fails because joomla is at http://myserver/joomla/ and the galleryView images are at:http://myserver/plugins/content/admirorgallery/admirorgallery/templates/galleryView/themes/light/prev.gif
How can I fix this whitout having to hardcode tha joomla subpath in the code?http://myserver/joomla/plugins/content/admirorgallery/admirorgallery/templates/galleryView/themes/light/prev.gif
Kind regards
--santilín
