Display rending of Youtube and Attached images

SRLMSRLM Posts: 5,045
When a post has youtube videos embedded in the post and an attached image I get the result below when I click to make the image bigger. For example, Erco's post in this thread:


Issue on:
Chromium 16.0.912.77 on Ubuntu 11.10.

Not an issue on:
Firefox on Ubuntu


  • 4 Comments sorted by Date Added Votes
  • John AbshierJohn Abshier Posts: 1,065
    edited March 2012 Vote Up0Vote Down
    I have the same problem on IE9 and Chrome

    John Abshier
  • Ron CzapalaRon Czapala Posts: 2,411
    edited March 2012 Vote Up0Vote Down
    This happens because the YouTube videos are contained in IFRAME tags and clicking the attachment calls attachment.php which apparently does not force the image popup window to the top so it appears underneath the video iframes.

    If attachment.php set the z-index CSS property for the popup, it would fix the problem.
    <IFRAME id=yui-gen176 class=restrain title="YouTube video player" height=390 src="//www.youtube.com/embed/hzNgYpJdfDs" frameBorder=0 width=640 origwidth="640" origheight="390" aspect="1.64102564102564"></IFRAME>
    <A id=attachment90137 href="attachment.php?attachmentid=90137&d=1330485499" rel=Lightbox_1078311 target=_blank>
    <IMG class=thumbnail title="Click image for larger version..." alt="Click image for larger version..."
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 21,772
    edited March 2012 Vote Up0Vote Down
    As a workaround, you could always right-click on the thumbnail, and open the image in a new window or new tab.

    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
Sign In or Register to comment.