Page 1 of 1

How to post screenshot [solved]

PostPosted: Thu Apr 07, 2016 14:58
by snowflake
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

Re: How to post screenshot

PostPosted: Thu Apr 07, 2016 15:02
by rubenwardy
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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
[img]url[/img]


where url is the url you copied.

Re: How to post screenshot

PostPosted: Thu Apr 07, 2016 17:11
by benrob0329
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.

Re: How to post screenshot

PostPosted: Thu Apr 07, 2016 18:00
by sofar
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.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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

Re: How to post screenshot

PostPosted: Thu Apr 07, 2016 22:52
by MineYoshi
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.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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!

Re: How to post screenshot

PostPosted: Fri Apr 08, 2016 12:39
by snowflake
Thx for all the people who helped me :)

Re: How to post screenshot

PostPosted: Sat Apr 09, 2016 08:26
by AiTechEye
1: Press the "Full Editor" button

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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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

Re: How to post screenshot

PostPosted: Sat Apr 09, 2016 17:32
by MineYoshi
i think it's time snowflake put "[Solved]" in the title, except he don't understand everything or need more help about this...

Re: How to post screenshot [solved]

PostPosted: Sat Apr 09, 2016 18:34
by snowflake
thx for the info mine

Re: How to post screenshot [solved]

PostPosted: Sat Apr 09, 2016 18:49
by MineYoshi
snowflake wrote:thx for the info mine


ok, if you have any question, post it, surely someone that know will help you! =D

Re: How to post screenshot

PostPosted: Sun Apr 10, 2016 12:11
by AiTechEye
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.

Re: How to post screenshot

PostPosted: Sun Apr 10, 2016 19:20
by MineYoshi
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!