How to post screenshot [solved]

Post Reply
snowflake
Member
Posts: 215
Joined: Mon Nov 16, 2015 16:50

How to post screenshot [solved]

by snowflake » Post

Hi , I know most of people know this but i dont know how to :( .....

i know a way from putting it in website and do the link but some people put it on minetest and the image comes in the post and the file of image will be in the box in end of the post , i would like to know that way or any easy ways.......

PLZ SOMEONE HELP WITH THIS ! :(

minetest should improve with screen shot like open a file in the laptop/computer and the image will be shown
Last edited by snowflake on Sat Apr 09, 2016 18:34, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: How to post screenshot

by rubenwardy » Post

Click "full editor"
Go to below textbox
Click "Upload attachment"
Click "browse"
find your image
Click "add the file"
Right click the link to the image.
Copy the URL that opens
Go to your post and do

Code: Select all

[img]url[/img]
where url is the url you copied.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: How to post screenshot

by benrob0329 » Post

If your image is to big, you can either scale it, convert it to JPG, or upload it either to an image hosting site or something like Owncloud and copy the direct download link.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: How to post screenshot

by sofar » Post

Here's the shell script I have, works on linux, and uses `ImageMagick`. I have it bound in my desktop environment to a keypress, so that in the game, I can make a keypress, and click the window I want to capture, and then it makes the screenshot, uploads it to imgur.com, and opens the URL in my browser so I can see the image and copy/paste the link somewhere nice and easily.

Code: Select all

#!/bin/bash
# https://github.com/Ceryn/img
# Call with '-s' to target only a selection of the screen.

clientid='3e7a4deb7ac67da'
img=$(mktemp '/tmp/img-XXXXXX.png')

import $img >/dev/null 2>&1 || exit
res=$(curl -sH "Authorization: Client-ID $clientid" -F "image=@$img" "https://api.imgur.com/3/upload")

echo $res | grep -qo '"status":200' && link=$(echo $res | sed -e 's/.*"link":"\([^"]*\).*/\1/' -e 's/\\//g')
test -n "$link" && (printf "\a" && rm "$img") || echo "$res" > "$img.error"

echo $link >> ~/.imgur.log
xdg-open $link

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: How to post screenshot

by MineYoshi » Post

sofar wrote:Here's the shell script I have, works on linux, and uses `ImageMagick`. I have it bound in my desktop environment to a keypress, so that in the game, I can make a keypress, and click the window I want to capture, and then it makes the screenshot, uploads it to imgur.com, and opens the URL in my browser so I can see the image and copy/paste the link somewhere nice and easily.

Code: Select all

#!/bin/bash
# https://github.com/Ceryn/img
# Call with '-s' to target only a selection of the screen.

clientid='3e7a4deb7ac67da'
img=$(mktemp '/tmp/img-XXXXXX.png')

import $img >/dev/null 2>&1 || exit
res=$(curl -sH "Authorization: Client-ID $clientid" -F "image=@$img" "https://api.imgur.com/3/upload")

echo $res | grep -qo '"status":200' && link=$(echo $res | sed -e 's/.*"link":"\([^"]*\).*/\1/' -e 's/\\//g')
test -n "$link" && (printf "\a" && rm "$img") || echo "$res" > "$img.error"

echo $link >> ~/.imgur.log
xdg-open $link
I tested that code, works very good!
In really is very cool the work you did there!
Have a nice day! :D

snowflake
Member
Posts: 215
Joined: Mon Nov 16, 2015 16:50

Re: How to post screenshot

by snowflake » Post

Thx for all the people who helped me :)

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: How to post screenshot

by AiTechEye » Post

1: Press the "Full Editor" button

If you have the link, mark the link/text and press the [img] button.

Code: Select all

 [img]https://forum.minetest.net/download/file.php?mode=view&id=5038[/img] 
You can also upload an image on the post [Upload attachment] button

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: How to post screenshot

by MineYoshi » Post

i think it's time snowflake put "[Solved]" in the title, except he don't understand everything or need more help about this...
Have a nice day! :D

snowflake
Member
Posts: 215
Joined: Mon Nov 16, 2015 16:50

Re: How to post screenshot [solved]

by snowflake » Post

thx for the info mine

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: How to post screenshot [solved]

by MineYoshi » Post

snowflake wrote:thx for the info mine
ok, if you have any question, post it, surely someone that know will help you! =D
Have a nice day! :D

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: How to post screenshot

by AiTechEye » Post

MineYoshi wrote:i think it's time snowflake put "[Solved]" in the title, except he don't understand everything or need more help about this...

i thought it was pretty much steps, so i made another description that could be easier to read for other people :-)

everyone do not perceive all the information in the same way, and in this case it is a
tricky thing to see.

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: How to post screenshot

by MineYoshi » Post

UjEdwin wrote:
MineYoshi wrote:i think it's time snowflake put "[Solved]" in the title, except he don't understand everything or need more help about this...

i thought it was pretty much steps, so i made another description that could be easier to read for other people :-)

everyone do not perceive all the information in the same way, and in this case it is a
tricky thing to see.
Well, i only say because sometimes it's hard to understand simple things!

But your description was simple and understandable so i think snowflake have the solution!
Have a nice day! :D

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests