The International Simutrans Forum

Community => Community Discussion => Forum => Topic started by: fam621 on May 30, 2017, 02:11:03 PM

Title: SORTED has of the 31/05/2017
Post by: fam621 on May 30, 2017, 02:11:03 PM
Hello expert's of the forum, this is fam621, asking anyone who knows best about posting pictures. If your picture is more than 64KB or 512KB, how can you upload it that people can see it? Like how Carl (the creator of the GB map) does it without using the forum to upload pictures.
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: pumuckl999 on May 30, 2017, 02:35:18 PM
You can choose every hoster, you want. But it should store .jpg and .png at least. I use myself for example picload.org.

Upload the image. You will get a direct link to your image after uploading.

Use the img-tags in your posting:


[img]link to your image[/img]


But remember that some users use slow internet connection or the mobile traffic is more expansive - > better no postings with giant images.

If the images are very large, better link them with url-tags:


[url]link to your image[/url]


Other users can see the image then only, if they click on the link.

If enabled javacsript in your browser, you can use for both the icons "insert image" and "insert hyperlink".
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: fam621 on May 30, 2017, 03:13:04 PM
What I mean is to make them be viewable without needing to go on a site to view the image. But thank you anyway.
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: Ves on May 30, 2017, 03:38:56 PM
That is exactly what he described. Try and you will see! :)
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: Frank on May 30, 2017, 03:46:07 PM
The problem is the image host. The link leads to a php file and not directly to the image file.

For img-tag it is necessary to link directly to the image file.

example
[img]http://simutrans-germany.com/files/upload/fracht-post_sb.jpg[/img]
view
(http://simutrans-germany.com/files/upload/fracht-post_sb.jpg)

your link
[img]http://imgur.com/a/nVsUo[/img]
view
(http://imgur.com/a/nVsUo)
directly link ( right click to image and copy image link )
[img]http://i.imgur.com/4vSvziE.png[/img]
view
(http://i.imgur.com/4vSvziE.png)

on https://ibb.co/j0SMD5 (https://ibb.co/j0SMD5)
click bottom Embed-Codes

and than copy the BBCode to the forum post

example for thumb
[url=https://ibb.co/j0SMD5][img]https://thumb.ibb.co/j0SMD5/20.png[/img][/url]

(https://thumb.ibb.co/j0SMD5/20.png) (https://ibb.co/j0SMD5)
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: fam621 on May 30, 2017, 04:48:22 PM
Noice
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: IgorEliezer on May 31, 2017, 12:09:45 PM
http://forum.simutrans.com/index.php?topic=3018.0 :)
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: DrSuperGood on May 31, 2017, 12:39:32 PM
One could also use a third party cloud storage service such as DropBox to host the images. Such images should be marked as temporary though as you might want/have to delete them when you run out of storage space.
Title: Re: If your picture is more than 64KB, how can you upload it that people can see it
Post by: fam621 on May 31, 2017, 04:12:47 PM
I know what to do now and thank you for all the help guys.