[wp-trac] [WordPress Trac] #31561: Checking of image size in the bookmarklet
WordPress Trac
noreply at wordpress.org
Sat Mar 7 22:41:34 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 | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by azaozz):
It may be possible to change that and attach the dimensions check to the
images `onload` event, however that will slow down the opening of the
Press This popup, quite significantly in some cases.
Perhaps a better way will be to move that test to Press This' JS, before
the images are added to the media "row". Then it will still run very fast
if the images are cached, and we can wait for them to load if needed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31561#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list