Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Critical: Update to 2.1.8, released 15 Jan.

[Magic addon] BUG: extra code visible*

edited January 2012 in Vanilla 2.0 Help
This discussion is related to the MaxImageSize addon.

Hello, and first of all thanks so much for this great plugin.

I just intalled it and for images it works fine, but for Youtube videos some extra code is visible. For example when I post this Youtube video:


The following code appears after the video:

type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
width="425" height="344">

You can see the example on this page:

Also, I notice when I scroll further down the page, the Youtube video overlaps the header (the forum is embedded and the header is part of my website). EDIT: Actually, as I test it I discover the video will overlap even if I disable your plugin, so it's not a problem on your end.

Thanks for any assistance.

Best Answers


  • edited January 2012

    I'm sorry I don't understand, could you be more specific? Are you saying the problem is not with your plugin, and that instead I should report it to Vanilla or the developer of the theme I'm using?

  • OK well that's strange I thought I posted this on the page of the plugin? If this is a general question it shouldn't be. Thanks anyways for your help though, I'll try to see what happened.

  • edited January 2012

    Oh OK yes thanks then 422 really it's much appreciated!!

    Hmmm, strangely the thread is marked as 'answered' on the plugin page, don't know why...

  • edited January 2012

    Yeah I tried that, then it works fine with the plugin disabled (except the video overlaps the header part of my own website).

  • edited January 2012

    The header is fixed position and really complex and stuff (for me anyways) and I don't rightly know if the height is officially set, but I removed the header temporarily and replaced it with a few words. Since the words aren't fixed position I don't now if that issue still persists (since when I scroll down the words disappear and the possibility of overlap never arises), but the extra visible coding was still present with the video. I tried posting the Youtube embed code, and the result was nothing at all showed, no code or video it was completely blank.

  • edited January 2012

    Well this is completely bizarre, this question should be associated with magic 1.0, not MaxImageSize!

    I'll try implementing the two fixes mentioned on that page. Hmm it seems those fixes are for older versions of Vanilla, which doesn't apply in this case. I'll try switching my question there some how.

    EDIT: I posted it here:

    I'm going to bed now will check back in the morning, thanks again for all the help it's greatly appreciated.

  • OK fewf I'm not going crazy, UnderDog said there's no easy way to correct the bug so he added the correct addon in the title. :) In other words, don't use the magic addon. Thanks all for your help!

  • Upon testing it, unfortunately regardless of whether or not I use MaxImageSize:

    1. my Youtube video overlaps the header
    2. I can post no images at all, only the image URL appears

    I guess I'll make separate threads for this.

  • edited January 2012

    On the image problem, I don't know what happened because the images were functioning before.

    On the overlap problem, 422 I removed my header and instead replaced it with text in a fixed-position div (the normal header is also fixed-position). In other words it's like this:

    Damn! I can't even paste for you to look at the code I use on my website, because this forum converts the symbols to other stuff. Is there no quote feature for posting code? EDIT: If you go to my forum website ( just view the source code and you'll see (it's much cleaner now that I removed the header).

    As you can see the text overlaps everything except with the video it's the opposite, the text is itself overlapped.

    EDIT: Is there documentation somewhere indicating how to post images and videos with bbcode / html / etc?

  • Thanks for that clarification sahotataran. Eh it's no big deal if that happens, besides I'm sure it will be corrected in a future release. Vanilla is still awesome!

Sign In or Register to comment.