I'm using Vanilla 1.0.3 and Attachments 2.1 toghether with Inline Images 1.2. The problem is when I attach an image, I don't get the image embbebed on the post. Instead of this, I get just a text with the name of the image (myimage.jpg). And this is not an url... I mean, I thought when I attach an image this should appears into the post (embbebed), and not as a simple text.
i saw this: * emilime * CommentTimeDec 12th 2006 edited
block userblock comment# 118 Hello
I'm using Vanilla 1.0.3 + Attachments 2.0 + Inline Image 1.1 Attachments 2.0 works fine but Inline Image doesn't for me :-( all I see is the alternative text with the name of the image... the response I get from /community/extensions/InlineImages/image.php?AttachmentID=## has content-length=0
UPDATE: well I think I've just found the error: the new constant IN_VANILLA is defined in appg/settings.php but the test if (!defined('IN_VANILLA')) exit(); in image.php is before the include of settings.php so IN_VANILLA is never defined and the script always exits. Just move the test after include('../../appg/settings.php'); and everything works fine
but i don't have if (!defined('IN_VANILLA')) exit(); in inline image.php file