I just updated the module and now my image is not being displayed anymore, instead the [inline]-tag is the output ??

I haven't changed my code at all, I'm using: [inline_upload|file=Oog van Horus.jpg|title=Oog van Horus]

Did the way to input the images change? I didn't read anything in the latest readme.txt or the release note ??

Comments

ansorg’s picture

I did not update but startet just today looking onto this module (Inline 6.x-2.x-dev (2009-Aug-12)) and get the same: the inline syntax as described in the Readme does not seem to work. Yes, the input format is set to use the inline filter.

Auto-inlining of attachments does work.

chris.peplin’s picture

I just installed this module and I had the same problem. I took a peek at the code, and it looks like the syntax changed to:

[upload|file=x]
Bensbury’s picture

Yup, the syntax in the readme and the CURRENT readme on the module page is totally out of step with the syntx in the actual module file.

Needs updating on the webpage I reckon.....

Here's the bit from the module: This syntax worked for me-----

You may link to files uploaded with the current node using special tags. The tags will be replaced by the corresponding files. For example:

Suppose you uploaded three files (in this order):

  • imag1.png (referred as file #1)
  • file1.pdf (referred as file #2)
  • imag2.png (referred as file #3)
[inline:1=test]  or  [inline:imag1.png=test]

will be replaced by <img src=imag1.png alt=test>

[file:1=test]  or  [file:imag1.png=test]

will be replaced by <a href=imag1.png>test</a>

[attachment:2=test]  or  [attachment:file1.pdf=test]

will be replaced by <a href=file1.pdf.png>test</a>

kansaj’s picture

Hm doen't seems to work at all as Bensbury proposed.

bkraegelin’s picture

Having the same problem.

Suggestion in #3 is wrong, this syntax is for version 1.x of inline module.

In my own tests I found the same solution as #2, so this might be the intermediate buggy syntax.

On quickly reading the module files I couldn't figure out how the module works and which hooks are called. There seems to be a mix between old and new style. I could not find, where syntax is implemented.

Bensbury’s picture

There maybe different ways of doing this but if the suggestion in #3 is 'wrong', how come it works and the others don't.
For my set up, solution #2 failed.

So #3 maybe well be the old syntax, but the old syntax works and the information on the webpage and documentation didn't.

sun’s picture

Status: Active » Fixed

inline_upload shouldn't have been used on production sites. It was only contained for a couple of weeks in the development snapshot of 2.x. How inline macro tags can be properly migrated to a new tag/syntax is investigated in #302519: Upgrade path from 1.x - or - Mass altering of existing inline macros.

I've updated the README.txt, thanks for noting that.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.