• Resolved mapetek

    (@mapetek)


    Hi,

    I’m trying to use Master Slider to create image gallery but it gives an error and it is stuck on loading screen.
    It’s trying to access wp-content/uploadsArray because image source is like “…../wp-content/uploadsArray” on the preloadImg function below.

    I’ve purchased but I can’t use it, please help.

    Thanks!

    $.fn.preloadImg = function(src , _event){
    			this.each(function(){
    				var $this = $(this);
    				var self  = this;
    				var img = new Image();
    				img.onload = function(event){
    					if(event == null) event = {}; // IE8
    					$this.attr('src' , src);
    					event.width = img.width;
    					event.height = img.height;
    					$this.data('width', img.width);
    					$this.data('height', img.height);
    					setTimeout(function(){_event.call(self , event);},50);
    					img = null;
    				};
    				img.src = src;
    			});
    			return this;
    		};

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Creating image gallery with Master Slider’ is closed to new replies.