Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.

Inline Images

This discussion is related to the Inline Images addon.


  • I also have the problem that when I klick on a attachment it wan't to save the picture as a file instead of viewing it.

    When I enable inline image the link gets broke, but if I copy it and paste it into the url-box I get the "download file" window.

    Anyone know why?
  • i'm also getting this, but only recently. i have moved servers and also installed the multi-file upload extension. tried disabling that but no change. paths and permissions seem to be OK.
  • I know this is sorta an off-topic question, but how hard would it be to modify the code of this add-on to make an uploaded MP3 playable via something such as DPlayer? I mean, is that something that could be done with a modified version of this code, or would it be easier to just start over from scratch?

    See, I have the DPlayer add-on installed, and it works great, but my forum posters are having to upload a file, then view that file's direct link in the Files tab of the Dojo Files add-on, and then paste that link to get a Play button. I'm trying to make it to where my forum posters don't ever see that Files tab.
  • Surely JQMedia covers this functionality?

    /me goes away and tests uploading an MP3 file...
  • Is JQMedia working now?

    I had it before and it didn't like me at all so I uninstalled it.
  • Got some problems as well. I installed Attachement 2 and Inline Images correctly. Permissions for the upload folder is set. When I upload a image, I just see a missing image within my post. The Image is linked to which brings up weird code mess. Any suggestion how to get the inline image fixed?

  • There seem to be some kind of issue when useing other languagefiles then English. The addon is working when I'm running English but when I change to Swedish it no longer does. When I change to Swedish all I get is broken textlinks to the pictures.

    Has anyone experienced the same error and happen to have a solution or a suggestion to what's causing it?
  • Same problem.
    This Extension DOESN'T WORK WITH UTF encoding, even English in my vanilla.
    Couple of hours and i know it for shure.

    Does anyone know what to do with this issue?
    Or how to change default charset of vanilla to non utf?
  • It seems to work pretty well with tons of other english forums?
  • Works fine with my utf test forum...
  • When i resave definitions.php as utf (using Ultraedit32.exe) it does'nt works.
    (With English utf it's only for exemple, originally i want to use Russian utf)

    May be i do something wrong.
    Still looking for desision.
  • Have you checked the character encoding documentation on the wiki to make sure all your character encoding matches up with the database and front end etc?
  • it doesn't matches, DB is cp_1251 encoding. Now i am Trying to change to utf and check.

    Someone resave your english defifnition.php in utf encoding, refresh page with inline images and tell me that everiyhing all right.
    If you'll do so, also tell what your DB encoding.
  • Appologising for my stupidness.

    Resaved lang file with another editor called "Bred", now it works. Something bad with this resaving as utf.
    Now feel ecstatic feelings, Russian peaple will see inline images.
  • This extension still doesn't work when using Swedish language-file. Anyone know why?
  • Just swedish or any language file?
  • Don't know if its related to the language-pack, but I use the norwegian language pack and still haven't got any solution to the problem discussed here.
  • zowie
    I have exactly the same problem.
  • @HannesB
    Sorry mate... Seems like author has'nt been active here for a while. -april on that thread... But as the fisherman sais: There's hope in a hanging line! ;-)
    Have you isolated the problem to only appear together with your swedish language pack?
    I've tested norwegian, english and "none" language with the same result of only showing text. I ca'nt see no difference with the JQThickBox enabled either?..
    Only with "Inline images" disabled I get a download-link in the attachement-window.
    Also added the $Configuration['DATABASE_CHARACTER_ENCODING'] = 'utf8'; -line to my /settings.php file. Even if I don't understand what i've done... ;-p

    With the "none" language enabled, the attachement box is so thin, the link is nearly not visible though.
    Could point towards a connection with this problem and language-pack addons?

    Anyway. *** HAPPY NEW YEAR!! ***
  • Hi, I'm using inline images without ThickBox. I've done a tiny modification so that you can click the resized image, and the full sized image will opened in a new window.

    Just under "//Init variables", you'll find the code for the $ImageBody string. I changed it to the following:

    $ImageBody = '';
    $ImageBody .= '';
    $ImageBody .= '';
  • @language-problem: I had the same problem with the Deutsch (German) language file. At least I figured out, that the crucial difference is the "newline": the file English/definitions.php has Unix-like CR, the Deutsch/definitions.php has DOS-like CRLF at the end of each line. If you remove the LF (e.g. with recode), Inline Images works fine. But I have no idea, why this happens.
  • This Extension DOESN'T WORK WITH UTF encoding.
    You can see screenshot:
    My database encoding is UTF8, language file is too.. When i re-save language file in ANSI (cp 1251), all work.
    I am add the line $Configuration['DATABASE_CHARACTER_ENCODING'] = 'utf8'; in settings.php file, but it not help me.
  • Great add-on. But you don't respect translators and use poor coding. Every time i want to correct YOURS CODE!!! Because translation for my language dont't works if in default.php used $Context->Dictionary.

    PLEASE! Use $Context->SetDefenition instead $Context->Dictionary and be hero.
  • Mate give it a rest with the " don't respect translators..." crap, it's getting a bit tedious and tiresome.   (*yawn*)
  • I'm having some trouble getting the inline images to display. When I only have have the Attachments add-on installed, the images are linked from the post as normal. But when I activate the Inline Images add-on, I get a broken image. When I try and view the URL of the image, I am given this error:


    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message
    The "AttachmentManager" class referenced by "AttachmentManager" does not appear to exist.

    Affected Elements

    For additional support documentation, visit the Lussumo Documentation website at:


    Any idea why this would be happening? Thanks!
  • WELL there you go, of course I figure it out right after posting for help.

    I had the Attachments add-on folder named "attachments" and not "Attachments", so the Inline Images code that references "Attachments" would break. Fixed it by naming the add-on folder correctly.
  • Very strange…I have been using this extension for months, and suddenly (maybe going from php4 to php5) the same problem asRuscom; so what happened ?
    What is the solution ?
    I tried re-encoding in Windows Latin, but is even worst because UTF8 characters are not recognized; anyone got an idea ?
  • I've updated Inline Images to a proposed 1.4. Here's a changelog, if it's liked hopefully it can be updated.
    Version 1.4 - 2007-09-04, [-Stash-] - Added support for text-only (worksafe) mode as described by itchy - Added LightBox support using the LightBox extension from AlexL - Added support for other image opening options and defaulted to thumbnail of 125px and opening in the current window. - Now using SetList for the extension options page. - Added readme.
  • What's the maximum jpg picture size that's supported by Inline Images (1.3) ? There seems to be a limit.
    I tried to upload a 10 megapixel photo (3648 x 2736 pixels) and the result was that there was no thumbnail generated. The filesize was not the problem, I brought that down with compression to 200kB. After I resized the original image to half the size (1824 x 1368) all went well even though the filesize at that point was 600kB.
  • I would image this has something to do with either the ZenPhoto code used by this extension or a PHP memory limit on your webserver... Might be worth trying the latest release of ZenPhoto and seeing if you can do it with that.
Sign In or Register to comment.