BIONICLEsector01:Help/External Images
From BIONICLEsector01
What is an External Image on this Wiki?
An External Image is an image which has not been uploaded BIONICLEsector01. These images can be various things, but are most commonly Non-Canon or Personal.
How to Use an External Image on the Wiki
If there is a personal/Non-Canon image that you want to use on the wiki, you should go through this process in order to utilize it:
- Upload to an Image Host (Such as Brickshelf, Flickr, etc)
- Copy a link to the file, it should end in a file type (such as .jpg, .png, or .gif)
- Paste the link into an <img> tag
Example:
<img>http://i196.photobucket.com/albums/aa169/rock225196/BS01%20Wiki/external.png</img>
That would produce this:
Advanced Coding for External Images
The <img> tag can be 'hacked' using HTML attributes. Since things inside the <img> tag are placed inside the HTML tag like this: <img src="STUFF">, placing a " after the URL ends the src attribute and you can then add attributes after it.
| Attribute | Description | Coding | Example |
|---|---|---|---|
| alt | Used to describe images. The default alt text is "Non-BS01 Image". | <img alt="TEXT">URL</img> |
|
| style='border: ;' | Adds a border around an image. | <img style='border: #px solid #000000;'>URL</img> |
|
| width=" " height=" " | Makes images bigger and smaller. Only one of the two is required. | <img width="#px" height="#px">URL</img> |
|
| onmouseover="this.src=' '" | Changes the image when the mouse goes on top of it. | <img onmouseover="this.src="'URL2'">URL1</img> |
|
| onmouseover="this.src=' '" '" onmouseout="this.src=' '" | Changes the image when the mouse goes on top of it, then changes it back when the mouse isn't on top of it. | <img onmouseover="this.src='URL2'" onmouseout="this.src="'URL1'">URL1</img> |
|
| onclick="this.src=' '" | Changes the image when it is clicked on. | <img onclick="this.src="'URL2'">URL1</img> |
*It is not necessary to use width and height, if desired, you can use just width or just height
Further Assistance
For Further Assistance, visit any Staff Member's Talk Page or visit the Help Desk
