[wp-trac] [WordPress Trac] #31561: Checking of image size in the bookmarklet

WordPress Trac noreply at wordpress.org
Sat Mar 7 22:35:56 UTC 2015


#31561: Checking of image size in the bookmarklet
--------------------------+-------------------
 Reporter:  azaozz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.2
Component:  Press This    |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-------------------
 Currently in the bookmarklet we attempt to check the images size before
 passing them to Press This. When the images are cached in memory this is
 very fast.

 However all newer browsers usually don't load images that are "under the
 fold", i.e. when the users cannot see them unless they scroll down. So
 some of the images we detect with the bookmarllet have to be loaded from
 the server before we can check the dimensions. Currently we don't wait for
 these images to load, so they are not added to Press This.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31561>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list