Resize images before upload
[resolved] Suggested small fix (4 posts)

  1. linuxplayground
    Posted 3 years ago #


    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.


  2. WPsites
    Plugin Author

    Posted 3 years ago #

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

  3. WPsites
    Plugin Author

    Posted 3 years ago #

    I've just implemented this in 0.8, thanks.

  4. WPsites
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Resize images before upload
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic