Support » Plugin: Resize images before upload » Suggested small fix

  • Resolved linuxplayground

    (@linuxplayground)


    Hi,

    I have been having some trouble getting this to work as described in IE8. In other words, have the user be warned about the lack of flash and then roll on without resizing.

    This might be a theme issue but I figured out that the following redirect:

    location.href = location.href + "&you_toldmeabout_flash=donttellmeagain"

    could be changed to:
    location.href = "<?php echo add_query_arg('you_toldmeabout_flash','donttellmeagain');?>";

    Otherwise the visitor ends up being redirected to a 404 not found error when they try to add an image from the Media -> Add New page.

    It seems that the Media->Add New page does not have any arguments so the URL Arguments (_GET) should be prepended with a “?” mark in this instance. I just thought it would be more, WordPressy to use a wp function here.

    http://wordpress.org/extend/plugins/resize-images-before-upload/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPsites

    (@wpsites)

    OK thanks for bringing this up I will look into it.

    Plugin Author WPsites

    (@wpsites)

    I’ve just implemented this in 0.8, thanks.

    Plugin Author WPsites

    (@wpsites)

    There is another annoyance with this issue and the new media manager. Because there is a media upload form on the main dashboard page you’ll get the Flash failure message every time you look at the dashboard.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggested small fix’ is closed to new replies.