10-20-2006 09:26 AM
10-20-2006 11:38 AM
10-21-2006 01:10 PM
Actually, I think Molly said once upon a time that they could get the attachments to appear immediately, but that they had no way of distinguishing between file types, so images would appear fine and any other attachments would appear as invalid images.
I agree that this is a rather annoying limitation of the Lithium system - if I can figure out the address to the image before posting (and I can - I usually embed images without editing), so can the software which does the posting. It can hold the image in temporary memory until the post is submitted and then give it a real URL.
Of course, it should also be able to allow you to preview your posts without losing attachments, so I guess we can conclude that it's not perfect.
10-23-2006 05:13 AM
I know there is some methodology, could you explain the method you discovered?if I can figure out the address to the image before posting (and I can - I usually embed images without editing),
10-23-2006 09:59 AM
@TonP wrote:
I know there is some methodology, could you explain the method you discovered?
Well, the trick is that the post numbers are sequential per board and the attachment URL format is constant (it's http://forums.ni.com/attachments/ni/BOARD Num/Post Num/1/FILE), so all you need to do is to find out the number of the most recent post in the board (you can do it by looking at the link to it in the board view) and then use the next number in the URL example I posted. This won't work if someone gets to post another post in that board before you do, so you should make sure that the number is correct just before posting, but even if you missed it, you can go back and edit.
Another thing to look out for is the "1" in that URL. Each attachment gets a different number. I haven't checked all the combinations (adding more attachements, editing and removing attachments, etc.), but they would probably affect this as well. In any case, with a single attachment and no editing, it's always 1.