Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Neatest way to post a txt attachment here?

  1. #11
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Neatest way to post a txt attachment here?

    Tip: If you see a post with some interesting effect, click the quote button. You will see the codes used to generate the effect.

    How to display images inside a post
    A list of codes that can be used in posts
    Guide to Forum features

  2. #12
    Join Date
    Dec 2006
    Location
    Alsace
    Beans
    1,083
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Neatest way to post a txt attachment here?

    Thanks both!

    Unutbu, you certainly know how to pack & lot of useful information into a short post!

    I am embarrassed that I searched the forum & Googled for ages without finding those links...

    So, basically, it is not possible to simply attach an image from my PC (like I can to the bottom of the post) & arrange for it to be visible within the text?

    The BB Code list mentions
    The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
    But that is not usable here?

    As an aside, the French ubuntu Forum has a special "Ephemeral" section where you can try out your skills (or lack of) at posting without spoiling any useful threads and they wipe it all out after a time.
    That's a good idea I have not found here (but maybe I just didn't look enough yet)...

    Thanks again!
    Acer Aspire TC-100-007: Multi boot W10 / 22.04 / 18.04 LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / 18.04 Lubuntu & Lenovo 5-15ARE05: W11 / Ubuntu 22.04

  3. #13
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Neatest way to post a txt attachment here?

    Thank you for telling me about the [attach] BB code... I didn't know about that.

    As far as I know, there is no direct way to embed an image from the machine into a post. When I really want to do that, I find that I need to

    • first attach the image
    • submit the post
    • (in firefox) right-click on attached image, type 'a' to copy the link location
    • edit the post
    • Use [img] tags to embed the image, or now even better, use [attach] tags to embed the attachment.


    As an example, here is the short-cut button to insert [img] tags in a post:
    screenshot.png (It's the one which looks like a postage stamp of a mountain.
    Last edited by unutbu; February 11th, 2009 at 08:09 PM.

  4. #14
    Join Date
    Dec 2006
    Location
    Alsace
    Beans
    1,083
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Neatest way to post a txt attachment here?

    Before I started playing with Ubuntu, I would have called that tortuous.
    sharp sign.jpg help.jpg
    Let me have a dummy run at putting a dummy image above this line.
    Last edited by 2CV67; February 11th, 2009 at 05:46 PM.
    Acer Aspire TC-100-007: Multi boot W10 / 22.04 / 18.04 LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / 18.04 Lubuntu & Lenovo 5-15ARE05: W11 / Ubuntu 22.04

  5. #15
    Join Date
    Dec 2006
    Location
    Alsace
    Beans
    1,083
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Neatest way to post a txt attachment here?

    OK - that works then. (1st image)

    You can even upload the image during the edit if you need/want. (2nd image)

    That is exactly the result I was looking for.

    Quote Originally Posted by Locke_99GS View Post
    ....I can tell you that myself (and most others, I'd reckon) prefer to see the contents of a file inline with a post here, wrapped in CODE tags. It's one less step we have to go through to examine the file.
    I completely agree with Locke 99GS on this, now I have had time to think about it, and the same logic holds for many small images (screenshots etc) which are more conveniently dealt with if they are embedded in the text.

    Is there any good reason that this facility is not included on the forum?

    Should it be?
    Acer Aspire TC-100-007: Multi boot W10 / 22.04 / 18.04 LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / 18.04 Lubuntu & Lenovo 5-15ARE05: W11 / Ubuntu 22.04

  6. #16
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Neatest way to post a txt attachment here?

    Moved to FFH.

    @ 2CV67: nice car, sweet memories

    As far as uploading files, there is an option, but not all file formats are supported. You can upload : bmp bz2 deb doc gif gpl gz jpe jpeg jpg odg odp ods odt pdf png psd py sh svg tar txt xcf zip.
    Last edited by bapoumba; February 11th, 2009 at 09:29 PM.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  7. #17
    Join Date
    Dec 2006
    Location
    Alsace
    Beans
    1,083
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Neatest way to post a txt attachment here?

    Quote Originally Posted by bapoumba View Post
    @ 2CV67: nice car, sweet memories
    Not only memories - mine still runs...

    And I can insert it here:
    2cv.png
    without editing.
    Acer Aspire TC-100-007: Multi boot W10 / 22.04 / 18.04 LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / 18.04 Lubuntu & Lenovo 5-15ARE05: W11 / Ubuntu 22.04

  8. #18
    Join Date
    Dec 2006
    Location
    Alsace
    Beans
    1,083
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Neatest way to post a txt attachment here?

    OK, building on everything you all said previously….

    To insert an image in your text instead of below:

    Copy/paste [attach][/attach] into your text where you want the image.

    Go through the usual procedure to upload your image as an attachment.

    Find your image, either in the "Manage attachments" window or by scrolling down in your post to "Additional Options" > Attach files.

    Right click.
    Look in properties.
    Select the id (in the example below, it's 102990)
    Example //ubuntuforums.org/attachment.php?attachmentid=102990&stc=1&d=1234385 747
    Copy that number.

    Paste it into [attach][/attach] .

    Job done!

    Thanks everybody!
    Acer Aspire TC-100-007: Multi boot W10 / 22.04 / 18.04 LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / 18.04 Lubuntu & Lenovo 5-15ARE05: W11 / Ubuntu 22.04

  9. #19
    Join Date
    Dec 2006
    Location
    Alsace
    Beans
    1,083
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Neatest way to post a txt attachment here?

    No - it's easier than that:

    Upload attachment in usual way.

    Right click on attachment as above.

    Select "Copy link location" as Unutbu said.

    Go to your post & click on "Insert Image".
    This opens a dialogue box asking for url.
    Paste in the complete "Copy link location" you just copied.

    Didn't even hurt!
    Acer Aspire TC-100-007: Multi boot W10 / 22.04 / 18.04 LTS: Canon TS705: Epson V200: also Asus 1015PED: W7 / 18.04 Lubuntu & Lenovo 5-15ARE05: W11 / Ubuntu 22.04

  10. #20
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Neatest way to post a txt attachment here?

    you could just add the .txt file extension and then you could have uploaded it easily.

    Edit: Didn't see there was a second page

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •