This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-06-15 15:38:00

macandcheese
Scratcher
Registered: 2011-01-11
Posts: 99

picture to url

does any one know how to convert a picture to a url?

Offline

 

#2 2011-06-15 15:43:06

peterkap
Scratcher
Registered: 2009-01-24
Posts: 1000+

Re: picture to url

ok ask here

Offline

 

#3 2011-06-15 15:46:14

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: picture to url

You need to upload it to an imagehosting site. Tinypic is used by many.

Offline

 

#4 2011-06-15 15:52:28

peterkap
Scratcher
Registered: 2009-01-24
Posts: 1000+

Re: picture to url

scimonster wrote:

You need to upload it to an imagehosting site. Tinypic is used by many.

incorrect

Offline

 

#5 2011-06-15 17:52:59

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: picture to url

peterkap wrote:

scimonster wrote:

You need to upload it to an imagehosting site. Tinypic is used by many.

incorrect

Would you care to explain why? This is completely correct. If it's stored on your computer, you need to upload it to a hosting site like Tinypic or Imgur and then use the link provided by the service. (Usually in the form of http://www.someurlhere/imagename.filetype) Or if the image you're using is already online, you can just right click it and select "copy image url" from the context menu.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2011-06-16 12:28:08

macandcheese
Scratcher
Registered: 2011-01-11
Posts: 99

Re: picture to url

no, what i mean is, if u click the picture, it will lead u to my site

Offline

 

#7 2011-06-16 12:32:54

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: picture to url

Oh. In that case, it's just a url tag around and img tag, like this:

Code:

[url=yoururlhere][img]imageurlhere[/img][/url]

http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer