Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Attachments + Inline Images display only filename
I'm having some problems with these extensions. I'm also using JQThickbox, but even when this extension is disabled the above don't work. The problem is that when I upload an image, only its filename is shown in the comment (as text when Thickbox is disabled, as a link not leading to the image when TB is enabled). Does anyone know how this could be fixed?
0
Comments
To have the image show up in the post, you have to use this code: [Image_%AttachmentID%] (AttachmentID being the number assigned to the attached image) in the post where you want the image.
/home/username/public_html/domain/support/uploads/Attachments/%year%/%userid%/
Make sure the trailing slash is at the end of this url; otherwise, the inline images won't display.
I'd definitely take JQuery and JQThickBox out of the equation while you get this fixed unless you need them for something else. Disable them, delete them and remove any settings from them in the settings.php file just to be sure. Once you have InlineImages working properly again, then get them back on. I say this as the author of those two plugins...
Can you give a link to your forum so that we can check out the problem? You'll need to enable Inline Images so that the problem can be observed first-hand. Maybe then one of us can come up with a solution that works for your situation.
Okay, I can respect that. But there is something else you can do that might give us a clue as to what's happening.
If you already have a post that has an image in it that will only display the filename as a link, copy the link and post it here (change the domain in the url to read "mydomain.com", but leave what comes after the domain intact so I can see the path to the file. I had a similar problem, and I'd like to see if you're having the same issue.
Would that be possible?
http://mydomain.com/extensions/InlineImages/image.jpg.php?AttachmentID=1
The URL is different than what I am getting on my install - mine shows http://www.mydomain.com/support/extensions/InlineImages/image.php?AttachmentID=1. The difference is in the php file called - mine is showing image.php?AttachmentID=1 and yours is showing image.jpg.php?AttachmentID=1.
In a previous post, you said you were using the Multi-file Upload extension. Is that extension still enabled? If it is, try disabling that, Inline Images, and Attachments, then re-enable Attachments and Inline Images only, and see if the problem persists. If it does, please post the link again to the image like you did before.
I only have Attachments and Inline Images installed (not Multi-file Upload), so I cannot test if the last one may be causing a conflict.