[wp-trac] [WordPress Trac] #27473: Thickbox width and height parameters are ignored when using TB_iframe
WordPress Trac
noreply at wordpress.org
Wed Jun 11 12:32:25 UTC 2014
#27473: Thickbox width and height parameters are ignored when using TB_iframe
--------------------------+------------------------------
Reporter: harmr | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by afercia):
hi chrisvanpatten,
the query string thing is a secondary issue, you can always use something
like this:
href="/?TB_inline&width=800&height=640&inlineId=someId"
with a slash at the beginning, the resulting link will have just the
parameters thickbox needs, regardless if the page URL you're currently in
has a query string or not.
Btw this should be documented, average users will tend to just copy and
paste the example in the documentation.
The real issue is that even with a correctly formatted query string,
thickbox won't correcly work in pages where both thickbox.js *and* media-
upload.js are loaded.
For example, this happens in the "edit post" page.
media-upload.js has a function that completely overrides the original
tb_position() funcion in thickbox.js
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27473#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list