Deviant Login Shop  Join deviantART for FREE Take the Tour
×

:iconastrikos: More from Astrikos


More from deviantART



Details

Submitted on
May 8, 2013
Submitted with
Sta.sh Writer
Link
Thumb

Stats

Views
10,140 (2 today)
Favourites
390 (who?)
Comments
227
×

PE: How to embed things

Wed May 8, 2013, 4:25 AM


Written by Astrikos for projecteducate's community week. 
You may have noticed GIFS and hot things in people's journals and profiles. 
With HTML and CSS, you can add some hotness to your journals and profile.

Pretty neat, yes? 



Embedding Images and GIFs

DeviantART Images
    Images on dA can easily be linked with thumbcodes. 
While on a deviation page, all you have to do is scroll down and look right until you see:

Screen shot 2013-04-28 at 1.18.43 PM by Astrikos
Copy and paste the thumb code. 
:thumb367944988:
:thumb367944988:

And if you want it bigger: 
:bigthumb367944988:
Silver River by dekorAdum

And bam. There you are.
If that's not good enough, you can play around with the size like this.. .
<da:deviation width="Number"  id="deviationID">
It's the thumbcode number without thumb in it... 
Trying it out... 
<da:deviation width="380"  id="367944988">
Gives us:
<da:deviation wytiwyg="1" width="380"  id="367944988">

If you want to play with height of dA deviations (with HTML) , you will need to use the method explained below. 



All kinds of images, not just deviantART ones


With this method, you can link any image you want from the internet(including dA images) , however,  HTML is involved. 

And now.... 
Go find your adorable/sexy  GIF/Image on wherever. Tumblr is especially useful. So is google. Express yourself.

The code is... 

<img src="Direct Image URL">

That's it! Easy. 
Right click, then select Copy Image URL to get the direct image URL. 
Screen shot 2013-04-28 at 1.36.30 PM by Astrikos
And then you're done!



Resizing: 

You can resize things the HTML way.

(Width: 310) (height: 430) 
(Code: <img src="http://25.media.tumblr.com/tumblr_lyhnrtNYq41r7e6yco1_250.gif" width="310" height="430">

Default sizing

Or for deviantART images, sta.sh, all you need to do is drag and drop and resize that way. (in Journals) 
You can resize the HTML Way.. 
However, you need to have images that link to the deviation. 

Linking Images


Perhaps you want to create a graphic for your profile page that links to something else. 
First, find your image and upload it to st.ash or any other hosting program. Like flickr, tinypic, etc. 
I find sta.sh to be much quicker. 

I'll use project educate's header image:
 

I the image URL so  I right click on the image,
and select copy image URL
:bulletgreen:  http://fc01.deviantart.net/fs70/o/2013/024/0/0/350289350_646745_322748439_464988_header2.png

Not : http://communityrelations.deviantart.com/journal/Project-Educate-Continues-261205783  (this link is the image adress.) 

I take the image URL and paste it into this code format: 


In our example, this gives us the code: 



In turn gives us: 
 
Click it! It will redirect you to project educate! 


You can also apply the resizing methods shown above. 

Embedding Video

You can also embed snazzy youtube videos into your journals! 


Take a look at this code:
<da:embed profile="video type" id="ID of the video" />

Note: The ID means this....
ht<i></i>tp://www.youtube.com/watch?feature=player_profilepage&v=CIx0P1KDkVk


An example would be 
<da:embed profile="youtube" id="CIx0P1KDkVk" />

And that gives us: 
<da:embed profile="youtube" id="CIx0P1KDkVk"/> 
:la:
Compatible video types: 
:bulletpink:Youtube
:bulletpink: Vimeo
:bulletpink: Film 

Embedding a music player

Mini Youtube Player embeddable code by CypherVisor

Good luck and happy embedding! 
If you have questions, you may comment below!
:heart: 








A tutorial written by `Infinite-Heart for #projecteducate's community week.
Add a Comment:
 
:icondrcoelocephalo:
DrCoeloCephalo Apr 11, 2014  Hobbyist General Artist
:thumb443038868:
:thumb443038868:
Reply
:icondrcoelocephalo:
DrCoeloCephalo Apr 11, 2014  Hobbyist General Artist
<object width="450" height="310"><param name="movie" value="backend.deviantart.com/embed/v…"><param name="flashvars" value="id=443038868&width=1337"><param name="allowScriptAccess" value="always"><embed src="backend.deviantart.com/embed/v…" type="application/x-shockwave-flash" width="450" height="310" flashvars="id=443038868&width=1337" allowscriptaccess="always"></embed></object>
SlamBack the dancing Wobbuffet GIF by DrCoeloCephalo on deviantART
Reply
:icondrcoelocephalo:
DrCoeloCephalo Apr 11, 2014  Hobbyist General Artist
:thumb443038868:
Reply
:iconidonknowyou:
idonknowyou Apr 9, 2014  New member
What is wrong with this <img src="th07.deviantart.net/fs70/PRE/f…">
Reply
:iconbowtiesarecool15:
BowtiesAreCool15 Apr 9, 2014  New member Hobbyist Writer
I'm so sorry I still don't get it
Reply
:iconastrikos:
Astrikos Apr 9, 2014   General Artist
What do you need a further explanation with?
Reply
:iconbowtiesarecool15:
BowtiesAreCool15 Apr 10, 2014  New member Hobbyist Writer
Well I got one up there and according to a few people I asked you do <imgsrc="urlhere'> but it only lets me put one up there. is there a certain thing I need for multiple?
Reply
:iconastrikos:
Astrikos Apr 12, 2014   General Artist
You can, just copy that whole line code and paste it again. Then you change the url for your second image.
Reply
:iconbowtiesarecool15:
BowtiesAreCool15 Apr 12, 2014  New member Hobbyist Writer
Thank you :D
Reply
:iconkissstormnyuu1:
<img collect_rid="1:430184515" src="fc06.deviantart.net/fs70/f/201…" width="50" height="50" alt="Sexy horse (oh noes) by AddMedia" class="dev-content-normal" style="width: 50px; height: 50px; top: 75px; position: relative;">
Reply
Add a Comment: