Correctly add the parameters to the TinyMCE thumbnail image (see #6361)