Viewing 11 replies - 1 through 11 (of 11 total)
  • Same problem here. It is really annoying and costs money (because my customer is waiting)!!! Is the developer going to read the support page???

    Maybe this helps:
    I tried deactivating all plugins and then try it,
    I tried deleting it and reinstalling sliceshow,
    the only change I made before it stopped working was, that I installed “Simple Images Sizes” and added a new size, since it didn’t work then I deleted this plugin but nothing changed.

    Plugin Author Tyler Jones

    (@tylerjones)

    Sorry hadn’t seen this thread.

    That’s odd, are you getting error messages in your server error log? What version of WordPress are you using?

    I am using the newest version of WordPress (3.7.1) but the error already occurred on the previous version.
    I didn’t find anything in my server error log.

    Where can I find the SliceShow in the Database?

    Just started having this issue. The issue appears to be TypeError: classes is undefined, caused by classes = jQuery('img', html).attr('class'); on line 25 of js/custom-js.js.

    My guess is that with classes = jQuery('img', html).attr('class'); (line 2 of the same file), the image doesn’t have a class. I think the issue would be fixed if you checked the classes variable before trying to doing stuff with it.

    I’d love to be able to use this plugin on another site, so please fix this.

    Plugin Author rdws

    (@rdws)

    I just ran across this thread and would like to help figure out a solution. Which option in the media uploader are you using: “From URL” or “Media Library”?

    From what I can tell the current way the plugin is setup won’t work with the “From URL” option even with ITS Alaska’s fix from above because it relies on the image having a post id.

    The problem exists when using Media Library, after choosing Insert Into Post

    I have two similar websites, both use the exact same plugins, both versions are the same, yet one website has this problem while the other doesn’t. The only diff is the Force Regenerate Thumbnails plugin, which I deleted, but still I’m getting the TypeError: classes is undefined error

    Anyone found a fix for this yet?

    if on custom-js.js on line 25 i replace

    window.send_to_editor = function(html) {
    			imgurl = jQuery('img',html).attr('src');
    			classes = jQuery('img', html).attr('class');
    			id = classes.replace(/(.*?)wp-image-/, '');
    			formfield.val(id);
    			preview.attr('src', imgurl);
    			tb_remove();
    		}

    with

    window.send_to_editor = function(html) {
    			imgurl = jQuery(html).attr('src');
    			classes = jQuery(html).attr('class');
    			id = classes.replace(/(.*?)wp-image-/, '');
    			formfield.val(id);
    			preview.attr('src', imgurl);
    			tb_remove();
    		}

    everything works again. is there a clean fix for this?

    Hi i have the same problem, unfortunately wza, your solution doesn´t work for me. And white screen i have in every was of inserting video.

    in js/custom-js.js
    near line 22

    replace

    window.send_to_editor = function(html) {
    	imgurl = jQuery('img',html).attr('src');
    	classes = jQuery('img', html).attr('class');
    	id = classes.replace(/(.*?)wp-image-/, '');
    	formfield.val(id);
    	preview.attr('src', imgurl);
    	tb_remove();
    }

    with

    window.send_to_editor = function(html) {
    	jQuery('body').append('<div id="myTmpDiv">'+html+'</div>');
    	imgurl = jQuery('#myTmpDiv img').attr('src');
    	classes = jQuery('#myTmpDiv img').attr('class');
    	jQuery('#myTmpDiv').remove();
    	id = classes.replace(/(.*?)wp-image-/, '');
    	formfield.val(id);
    	preview.attr('src', imgurl);
    	tb_remove();
    }

    here, first, i set html response to temp div and then read IMG SRC and CLASSES from there and then remove that temp div.

    Good luck

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘White screen mediauploader’ is closed to new replies.