HOME | DD

Synfull — Placing text + an image side-by-side on dA

#formatting #image #left #text #right #side #deviantart
Published: 2016-05-26 17:19:22 +0000 UTC; Views: 23496; Favourites: 481; Downloads: 24
Redirect to original
Description A couple of years ago I wrote a detailed tutorial about how to format images and text on dA. One of the most widely asked questions on that tutorial goes along the lines of "How do I place an image and text side-by-side in a custom box on my profile?"

With the help of Sapphire-Skillz (for linking to an example) and night--rabbit (who had an example on their page) I was about to look at the HMTL to learn how this was done.



Code
An example of the code is shown below. The items in bold will need to be replaced.

Note: It is recommended that you type the code yourself - do not copy and paste from this tutorial, as it includes extra formatting that often breaks the code.





Direct link to image
Once you have uploaded the image you want to use to a website (e.g. stash, photobucket etc), the URL (web address) for the image needs to be inserted into the code. This needs to be a Direct Link to the image, which shows the image is shown on a plain background.

To acquire this link,  right click on the image and select 'copy image URL/Location/Address'. (Dependant on web browser). For example:

http://i971.photobucket.com/albums/ae198/syns-stuff/Avatars/63.png
http://orig14.deviantart.net/d26c/f/2012/148/0/5/how_do_i_use_emotes_on_da__by_synfull-d2tjctc.png


Width of image
The width of the image (in pixels). This can be found using an art program such as MS paint.

Alignment
Can be set to right or left to specify which side you want the image to appear on.




Examples

The code above adds in the image. To add text to the side, simply type it out after the code. For example:

This text will appear to the right hand side of the image linked before it.


You can also add extra formatting to this text, to change how it looks. For example, you can make it bold, underlined, small or even center align it. To do this, simply add in the appropriate HTML tags around the text. For example:

This text will appear to the right of the image, and be small and in bold.

When you use a real image URL, the finished code will look something like this:

The image to the side shows the preview of another tutorial. This text will appear to the right of the image, be center aligned and italic






Other tutorials

       

Related content
Comments: 109

Synfull In reply to ??? [2024-01-30 17:12:10 +0000 UTC]

👍: 1 ⏩: 0

NT64Productions [2020-01-22 07:47:22 +0000 UTC]

Yo. I ain't sure if this is factoring in the mobile app or mobile site,but I don't know what the hell paint is. Is it an app? DeviantArt paint? Beats me. Please assist me as soon as possible. Thanks!

👍: 0 ⏩: 1

Synfull In reply to NT64Productions [2020-01-26 00:47:30 +0000 UTC]

It's just an example of a free image editing software:

en.wikipedia.org/wiki/Microsof…

👍: 0 ⏩: 0

Hinakichu [2019-07-04 06:00:20 +0000 UTC]

What if I put two pictures on the left then the text on the right?

👍: 0 ⏩: 1

Synfull In reply to Hinakichu [2019-07-23 23:48:07 +0000 UTC]

I can't say I have much experience of that, sorry

👍: 0 ⏩: 1

Hinakichu In reply to Synfull [2019-07-24 04:21:33 +0000 UTC]

Don't worry I already got it covered XD

👍: 0 ⏩: 0

Hopeful-Bagel [2019-04-04 09:58:08 +0000 UTC]

This helped a lot, thank you!

👍: 0 ⏩: 1

Synfull In reply to Hopeful-Bagel [2019-04-21 23:00:54 +0000 UTC]

👍: 0 ⏩: 0

witches-sword [2018-10-19 21:23:07 +0000 UTC]

How do I an image on the right with text, and then below on the opposite side? I've tried and moving it down in the coding, but it's not spacing very well o(-< 
Screenshot linked: gyazo.com/03b7a1b4bdfb9b3c2e5a…

EDIT: Okay I got it to separate, the coding just needs to be REAAALLLY far apart from each other LOL. Is that what is supposed to happen?

👍: 0 ⏩: 1

Synfull In reply to witches-sword [2018-11-12 22:43:54 +0000 UTC]

Sorry for the uber late response. dA can be a bit weird when it comes to coding - it thinks it knows what you want to do, when you really wanted to something completely different. Glad you managed to find some sort of solution though

👍: 0 ⏩: 0

Dream-Chaserz [2018-10-12 21:06:20 +0000 UTC]

I just wanted to put a picture in the center, not on the left, because it looked bad... How do I do that? I'm sorry if I missed something, I'm not the best when I'm tired.

👍: 0 ⏩: 1

Synfull In reply to Dream-Chaserz [2018-10-18 20:52:42 +0000 UTC]

Surroound it with the code to centralise stuff. For example:


<div align="center"><img src="link to image"/></div>

👍: 0 ⏩: 0

LordBlackLotus [2018-09-06 22:59:34 +0000 UTC]

Thank you so much for this! I asked about doing something like this on the forums and they said it couldn't be done! I am forever grateful you did this tutorial!

👍: 0 ⏩: 1

Synfull In reply to LordBlackLotus [2018-09-18 18:16:49 +0000 UTC]

I wasn't sure it could be done until someone showed an example. Glad you found it useful

👍: 0 ⏩: 1

LordBlackLotus In reply to Synfull [2018-09-18 20:41:20 +0000 UTC]

Oh yeah! Glad it can be though, I was up a crick without a paddle so to speak and there were so many fruitless google searches xD; 

👍: 0 ⏩: 0

Selkra [2018-09-01 22:51:28 +0000 UTC]

This was very helpful! Thanks for sharing!

👍: 0 ⏩: 1

Synfull In reply to Selkra [2018-09-18 18:16:59 +0000 UTC]

👍: 0 ⏩: 0

Kiramera [2018-06-09 15:40:03 +0000 UTC]

Could I have a bit of help?

The normal coding for center/align text worked for me before, but while making some adjustments to my deviantID I accidentally deleted the whole thing.

I could no longer center my text no matter what I did, but apparently using a different center code seemed to do the trick!

However the text IS aligned/centered now, but it's not centered at the middle of my deviantID.

Any tips on how to fix this? Thanks! :"0


👍: 0 ⏩: 1

Synfull In reply to Kiramera [2018-09-18 18:17:30 +0000 UTC]

Hi. Sorry for the uber late reply. Did you manage to fix this?

👍: 0 ⏩: 1

Kiramera In reply to Synfull [2018-09-18 18:37:29 +0000 UTC]

No worries, I managed to figure it out already.
Thank you!

👍: 0 ⏩: 0

Creamcloudie [2018-05-01 23:55:59 +0000 UTC]

Do you know how to make text and text side by side? 

👍: 0 ⏩: 1

Synfull In reply to Creamcloudie [2018-05-06 20:43:47 +0000 UTC]

Like two columns of text? I'm not sure if that is possible

👍: 0 ⏩: 1

Creamcloudie In reply to Synfull [2018-05-06 21:18:49 +0000 UTC]

Aww man >_<
Thanks so much for replying tho!

👍: 0 ⏩: 0

IcebatRRBZ8 [2018-04-06 02:25:51 +0000 UTC]

How do I change the text size?

👍: 0 ⏩: 1

Synfull In reply to IcebatRRBZ8 [2018-04-06 23:39:28 +0000 UTC]

You can use the <sub> <sup> <small> and header tags (e.g. <h1>) but you don't get any more control than that (except in journals where you can use CSS)

👍: 0 ⏩: 1

IcebatRRBZ8 In reply to Synfull [2018-04-06 23:41:01 +0000 UTC]

Ok well I’m having thirst appear and they’re annoying also it’s head to copy the Align=left with thumbnail and move it up without effecting the thumbnail spaces.

👍: 0 ⏩: 0

IcebatRRBZ8 [2018-04-05 09:28:30 +0000 UTC]

Align is not working.

👍: 0 ⏩: 1

Synfull In reply to IcebatRRBZ8 [2018-04-06 23:41:20 +0000 UTC]

Are you sure you are trying to use it in a location that support alignment?

👍: 0 ⏩: 1

IcebatRRBZ8 In reply to Synfull [2018-04-06 23:42:34 +0000 UTC]

Nvm I got it. The only frustration is it looks different on my IPhone than PC. The spaces betweeen the pictures is more on IPhone than PC.

👍: 0 ⏩: 0

CedarPaws [2018-03-17 13:07:08 +0000 UTC]

Is there a way to center the text once it’s right next to the HTML?

👍: 0 ⏩: 1

Synfull In reply to CedarPaws [2018-04-06 23:40:12 +0000 UTC]

Yes. The bottom example show you how

👍: 0 ⏩: 0

IzzaKenna [2018-02-19 18:21:24 +0000 UTC]

 i'm trying to add one of these (whichever would work) but it isn't displaying right next to the text? this is what i've typed in:

:/thumb707434783:

"yours truly"
15 | she / her | usa


:/thumb624498494:

👍: 0 ⏩: 1

Synfull In reply to IzzaKenna [2018-02-24 08:10:39 +0000 UTC]

The thuimbs don't work with the alignment code, but you can configure the 👍: 0 ⏩: 1

IzzaKenna In reply to Synfull [2018-02-24 18:43:08 +0000 UTC]

thank you :3

👍: 0 ⏩: 0

SmolLawliet [2018-01-16 19:31:59 +0000 UTC]

Edit: nvm I got it

Im confused on how to get the direct link ._.

👍: 0 ⏩: 0

F0RG0TTENCARNATI0N [2017-12-29 18:55:53 +0000 UTC]

im a bit confused actually

im trying to put an image into my featured box for a code for a friend, but its saying the image is broken
cdn.discordapp.com/attachments…
any help ??

👍: 0 ⏩: 1

Synfull In reply to F0RG0TTENCARNATI0N [2017-12-30 01:18:21 +0000 UTC]

Can you send me a note with the code?

👍: 0 ⏩: 1

F0RG0TTENCARNATI0N In reply to Synfull [2017-12-30 04:56:39 +0000 UTC]

ahh heck, nevermind, I fixed it, I was just not entering the right URL

👍: 0 ⏩: 0

FellFallow [2017-12-10 03:36:48 +0000 UTC]

Hey, is there a way to make images align next to each other horizontally? With no text? Almost like a mini gallery of images. I have images and links to the deviation working but no solution for aligning a bunch of images in a custom box with background. Thanks!

👍: 0 ⏩: 2

Synfull In reply to FellFallow [2017-12-10 12:00:39 +0000 UTC]

Alternatively, you can also adapt the HTML so it includes a size to shrink the image. For example:



The dimensions are specified in pixels. You don't have to include both height and width - the other value will automatically scale the image if you only include one of them.

👍: 0 ⏩: 0

Synfull In reply to FellFallow [2017-12-10 11:54:01 +0000 UTC]

If multiple images are small enough to fit together on one row, they will do without the need for any alignment code. For example, the set of buttons in the 'Useful links' section of my page is just a series of images with links to other locations.

If the images are too large, then use a program to create thumnail sized versions and put them in your stash. Use the thumbnails for the mini gallery, and link to the larger pieces. I recommend that you make each thumbnail the same dimension so they nicely line up - if one won't fit the chosen dimensions, then put the image in the middle of a transparent background.

👍: 0 ⏩: 1

FellFallow In reply to Synfull [2017-12-10 15:57:12 +0000 UTC]

I actually ended up doing exactly that last night! I was putting the dimensions in the wrong spot.. idiot, lol. Thanks!

👍: 0 ⏩: 0

WhotchaBerry [2017-09-27 16:13:30 +0000 UTC]

Hello! I was able to do this with no problem (thank you!!) but I was wondering if there was a way to stop the coding from touching other part of my text. Like if I only want some of my text next to the image

my problem: Hah

I used:


and put my other writing right below it

👍: 0 ⏩: 1

Synfull In reply to WhotchaBerry [2017-10-16 17:02:27 +0000 UTC]

I've had a play around with teh code but don't seem to be able to find a way to make it do that. Sorry

👍: 0 ⏩: 1

WhotchaBerry In reply to Synfull [2017-10-16 22:02:58 +0000 UTC]

Ahhh ok, thank you anyways!
I put a ton of spaces below it and eventaully it just stopped doing it but it's a really large space XD

👍: 0 ⏩: 0

MISF0RTUNATE [2017-05-27 15:57:31 +0000 UTC]


Hello, yes?

But how do i write (or put stamps, etc.) something to the right side when there's already text on the left side? 

(I'm sorry if this already has answer.) 

👍: 0 ⏩: 1

Synfull In reply to MISF0RTUNATE [2017-05-28 00:04:10 +0000 UTC]

I don't think its possible to create multiple columns of text, or if it is, I don't know how to do it

👍: 0 ⏩: 1

MISF0RTUNATE In reply to Synfull [2017-05-28 10:56:25 +0000 UTC]


Thank you. 

👍: 0 ⏩: 0

Favorisveons [2017-05-13 20:51:48 +0000 UTC]

how to post video youtube or music on profile dA?

👍: 0 ⏩: 1

Synfull In reply to Favorisveons [2017-05-15 19:14:16 +0000 UTC]

I don't actually know. I've seen people do it, but never worked out how it's done

👍: 0 ⏩: 0


| Next =>