Display rending of Youtube and Attached images

SRLMSRLM Posts: 5,033
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,032
    edited March 2012 Vote Up0Vote Down
    I have the same problem on IE9 and Chrome

    John Abshier
  • Ron CzapalaRon Czapala Posts: 2,245
    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: 19,950
    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.

    “Impossible is just a big word thrown around by small men who find it easier to live in the world they'’ve been given than to explore the power they have to change it. Impossible is not a fact. It’'s an opinion. Impossible is not a declaration. It'’s a dare. Impossible is potential. Impossible is temporary. Impossible is nothing.” –Muhammad Ali
Sign In or Register to comment.