2👍
✅
jPicker has a default variable that states where the images folder is located:
$.fn.jPicker.defaults = /* jPicker defaults - you can change anything in this section (such as the clientPath to your images) without fear of breaking the program */
{
images:
{
clientPath: '/jPicker/images/', /* Path to image files */
}
}
You should overwrite this default to images.clientPath = '/files/css/images/'
, for instance like:
<script type="text/javascript">
$(document).ready(
function()
{
$('#your-element').jPicker({images:{clientPath: '/files/css/images/'}});
});
</script>
See also the section ‘Settings’ at http://www.digitalmagicpro.com/jPicker/ (to bad I can not link the exact location, but Ctrl + F is your friend).
good luck,
Wout
Source:stackexchange.com