开发者

Images on Project Homepage GoogleCode

开发者 https://www.devze.com 2022-12-18 03:17 出处:网络
I\'m wondering how to put images on the GoogleCode\'开发者_开发百科s project homepage. I read the wiki syntax, but I don\'t know how to integrate that onto the homepage.It\'s there, although very well

I'm wondering how to put images on the GoogleCode'开发者_开发百科s project homepage. I read the wiki syntax, but I don't know how to integrate that onto the homepage.


It's there, although very well hidden in the "links" section (wtf?):

Plain URLs such as http://www.google.com/ or ftp://ftp.kernel.org/ are automatically made into links.

You can also provide some descriptive text. For example, the following link points to the [http://www.google.com Google home page].

If your link points to an image, it will get inserted as an image tag into the page:

http://code.google.com/images/code_sm.png


If you go to Source>Browse>wiki, on the right side of the screen you are given an option to Create or Upload a file.

When you upload it, it will appear in your repository. (Example)

https://code.google.com/p/star-trek-kg/source/browse/wiki/iA1E15e.jpg

However, that won't display the image. That apparently needs an alternate link syntax, which I figured out just now (by looking at how other picture links were constructed :D)

This link syntax will parse as a picture on your project home page. Note the difference from the above link:

https://star-trek-kg.googlecode.com/svn/wiki/iA1E15e.jpg

0

精彩评论

暂无评论...
验证码 换一张
取 消