create account

How to Line up Images In a Steemit Post by beekerst

View this thread on: hive.blogpeakd.comecency.com
· @beekerst · (edited)
$20.63
How to Line up Images In a Steemit Post
<center>https://steemitimages.com/DQmXZsEBVDiDHWCsNBQFHNxyz91SuY96jTD4DrxCETjRP4i/steem%20copy.jpg</center>

# <center>How to Place Your Images Side by Side in a Steemit Post</center>
___

Yesterday I made a quick little post with several pictures in it.  I tinkered around with the markdown code to get several of them lined up horizontally.  That was a chore for someone new to HTML!

I had everything nice and ordered .....it looked perfect! 

When I hit the post button all my pictures were scrambled and text was scattered all over the place!

It took me several hours to rearrange things so that it was presentable to the public.

## <center> Do you know what I discovered?</center>
___

The _**editor preview**_ window isn't the same size as the _**posting**_ window!!!

My code was okay, my image sizes were off!

I spent two hours resizing and testing and testing again before I finally to got things correct!

The pixel width of the _**posting**_ window is 630 pixels wide!  Exceed this and your project is ruined!

This is the code I worked out to display pictures three across.
___

    <div class="pull-left">Image here 
    Image here
    Image here</dev>


I used my preview software on my MacBook Pro to resize the images to 210 pixels wide. They should look like this in your blog.

<div class="pull-left">https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg
  https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg
  https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg</dev>



___
The code will look something like this with your image files loaded. Be sure to strip out everything but the necessary elements of the image file, i.e. everything before the 'https' and delete the last parenthesis')' too.


    <div class="pull-left">https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg
      https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg
      https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg</dev>

## <center>Use this code to align two different sized images!</center>
___

The first image is 420 pixels wide and the second is 210 pixels wide.  Together they are 630 pixels, the limit of the Post window.

<div class="pull-left">https://steemitimages.com/DQmcgYQtUiAZSJrodAusd2qmqepxJYR6pQBR3yAAeoPJvrP/IMG_1213.jpg https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg
</dev>

___
This is the code I used for this effect.

    <div class="pull-left">Image here 
    Image here
    </dev>
___

I'm assuming you can align any  number of images as long as they don't exceed the 630 pixel limit.
I've been toying with centering captions under each image but haven't had much success yet.  

### <center>Update: </center>
##### <center>This will not appear correctly in a phone browser! I'm still working on that problem!</center>

<center>Helpful comments appreciated.

Thanks for reading!  

CARRY ON!</center>
<center>https://steemitimages.com/0x0/https://steemitimages.com/DQmXmdadCYFMH2MEcHc92CYHHhVCUyCzqEUw4V3GXxWUosF/bar1.PNG</center></center> 
https://steemitimages.com/0x0/http://brandonfrye.biz/wp-content/uploads/steem.gif 
<center> 

<a href="https://steemit.com/homesteading/@beekerst/improving-the-homestead-or-a-ride-through-the-empire"><img src="http://i.imgur.com/sK3LEbt.gif"/></a> 

<a href="https://steemit.com/story/@beekerst/legends-of-the-louisiana-swamp-lands"><img src="http://i.imgur.com/9IsAlFg.gif"/></a>


<center>https://steemitimages.com/0x0/https://steemitimages.com/DQmXmdadCYFMH2MEcHc92CYHHhVCUyCzqEUw4V3GXxWUosF/bar1.PNG</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorbeekerst
permlinkhow-to-line-up-images-in-a-steemit-post
categorysteemit
json_metadata{"tags":["steemit","steem","blog","new","help"],"image":["https://steemitimages.com/DQmXZsEBVDiDHWCsNBQFHNxyz91SuY96jTD4DrxCETjRP4i/steem%20copy.jpg","https://steemitimages.com/DQmdKzMxHYSy4qCnHrTybeBnkTPJjgWqUijYFz5xCeTQph4/IMG_1187.jpg","https://steemitimages.com/DQmcgYQtUiAZSJrodAusd2qmqepxJYR6pQBR3yAAeoPJvrP/IMG_1213.jpg","https://steemitimages.com/0x0/https://steemitimages.com/DQmXmdadCYFMH2MEcHc92CYHHhVCUyCzqEUw4V3GXxWUosF/bar1.PNG","https://steemitimages.com/0x0/http://brandonfrye.biz/wp-content/uploads/steem.gif","http://i.imgur.com/sK3LEbt.gif","http://i.imgur.com/9IsAlFg.gif"],"links":["https://steemit.com/homesteading/@beekerst/improving-the-homestead-or-a-ride-through-the-empire","https://steemit.com/story/@beekerst/legends-of-the-louisiana-swamp-lands"],"app":"steemit/0.1","format":"markdown"}
created2018-03-11 01:13:45
last_update2018-03-12 11:58:03
depth0
children20
last_payout2018-03-18 01:13:45
cashout_time1969-12-31 23:59:59
total_payout_value17.332 HBD
curator_payout_value3.297 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,728
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,613,871
net_rshares6,295,034,005,330
author_curate_reward""
vote details (50)
@bananamemos ·
Formatting pictures on Steemit is driving me nuts! Particularly how the Editor Preview window is not the same width as the Post window.  You're the first one I've read who corroborates my suspicion on that, as often my posts will look perfect while writing them, then look messed up after posting.

I tried using your code above, but it didn't line up my photos.  I also tried using...   div position:relative  
but that didn't work either.

Have you come up with any additional info?  Thanks!
properties (22)
authorbananamemos
permlinkre-beekerst-how-to-line-up-images-in-a-steemit-post-20180904t230346024z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-09-04 23:03:45
last_update2018-09-04 23:03:45
depth1
children2
last_payout2018-09-11 23:03:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length493
author_reputation1,263,819,529,213
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id70,337,411
net_rshares0
@beekerst ·
I finally just started centering all mine.   That seems to work in cell phone format and computer screens too.  My OCD is satisfied that way and my post look alright too.
👍  
properties (23)
authorbeekerst
permlinkre-bananamemos-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180905t000106304z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-09-05 00:01:06
last_update2018-09-05 00:01:06
depth2
children1
last_payout2018-09-12 00:01:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length170
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id70,340,706
net_rshares13,029,569,160
author_curate_reward""
vote details (1)
@bananamemos ·
haha, 
thanks for the reply @beekerst.  That's what I ended up having to do with my latest post, just center the photos.  But you might have a point, about how it would look on a cell phone anyway.
properties (22)
authorbananamemos
permlinkre-beekerst-re-bananamemos-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180905t024642316z
categorysteemit
json_metadata{"tags":["steemit"],"users":["beekerst"],"app":"steemit/0.1"}
created2018-09-05 02:46:42
last_update2018-09-05 02:46:42
depth3
children0
last_payout2018-09-12 02:46:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length197
author_reputation1,263,819,529,213
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id70,351,416
net_rshares0
@lopiliu ·
thank you very helpfull
👍  
properties (23)
authorlopiliu
permlinkre-beekerst-how-to-line-up-images-in-a-steemit-post-20180312t190020466z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-12 19:00:21
last_update2018-03-12 19:00:21
depth1
children1
last_payout2018-03-19 19:00:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation3,426,975,647
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,964,656
net_rshares364,457,602
author_curate_reward""
vote details (1)
@beekerst ·
Thank you for the kind comment!  And the resteem and upvote too!   You're the BEST!
👍  
properties (23)
authorbeekerst
permlinkre-lopiliu-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180312t223755111z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-12 22:37:54
last_update2018-03-12 22:37:54
depth2
children0
last_payout2018-03-19 22:37:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,998,204
net_rshares349,144,257
author_curate_reward""
vote details (1)
@mairosoft ·
Hi!
Why are you always closing the <div tag with </dev ???
properties (22)
authormairosoft
permlinkre-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t180101636z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-11 18:01:03
last_update2018-03-11 18:01:03
depth1
children1
last_payout2018-03-18 18:01:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length58
author_reputation1,176,378,705,118
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,751,397
net_rshares0
@beekerst ·
Why wouldn't you?  It defines your code block for others to follow and it doesn't hurt.....does it?
I'm new at this.....enlighten me.  I know some tags like \<br> wouldn't like it but \<dev>?
properties (22)
authorbeekerst
permlinkre-mairosoft-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t201158940z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-11 20:12:09
last_update2018-03-11 20:12:09
depth2
children0
last_payout2018-03-18 20:12:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length191
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,769,648
net_rshares0
@pragmaticpassion ·
Not following where the images are actually side by side ...

I actually don't think the CSS code for side by side images is available in Markdown, as I've tried this many times and it doesn't work, even though it renders perfectly offsite. I've also never seen a post on here with side by side images.

As for centering your caption, you use: <p><center><img src="INSERT IMAGE HERE"><center>INSERT CAPTION HERE</center></div></center></p>
properties (22)
authorpragmaticpassion
permlinkre-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t055043632z
categorysteemit
json_metadata{"tags":["steemit"],"community":"busy","app":"busy/2.4.0"}
created2018-03-11 05:50:54
last_update2018-03-11 05:50:54
depth1
children7
last_payout2018-03-18 05:50:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length439
author_reputation194,560,064,692
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,646,641
net_rshares0
@beekerst · (edited)
You don't see three images of a dog side by side up there?

If you don't want your code to render preface the tags with a forward slash \
\<center>This\</center> or four spaces to show it in a slider (greyed out area)
     
    <center>This</center>
properties (22)
authorbeekerst
permlinkre-pragmaticpassion-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t132527822z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-11 13:25:27
last_update2018-03-11 17:17:00
depth2
children6
last_payout2018-03-18 13:25:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length249
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,704,815
net_rshares0
@pragmaticpassion ·
No I don't. I see them stacked on top of each other vertically. If that's what you meant by side by side. I figured you meant next to each other horizontally.
properties (22)
authorpragmaticpassion
permlinkre-beekerst-re-pragmaticpassion-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t154921370z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-11 15:49:21
last_update2018-03-11 15:49:21
depth3
children5
last_payout2018-03-18 15:49:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length158
author_reputation194,560,064,692
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,729,641
net_rshares0
@pragmaticpassion ·
Of course my code is rendering when I post lol. Aye. Look here https://steemit.com/steemit/@steemitblog/new-advanced-formatting-features
properties (22)
authorpragmaticpassion
permlinkre-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t055507347z
categorysteemit
json_metadata{"tags":["steemit"],"community":"busy","app":"busy/2.4.0"}
created2018-03-11 05:55:06
last_update2018-03-11 05:55:06
depth1
children1
last_payout2018-03-18 05:55:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length137
author_reputation194,560,064,692
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,647,184
net_rshares0
@beekerst ·
I actually tried to incorporate this code 
    <div class="pull-left">

    https://imageurl.com/img.jpg
    <center> **left image caption** </center>
    </div>

into mine, to put captions at the bottom of each image.  It won't work inside the div tag.....I'm playing around with nested div's but no luck so far....I'm just learning this stuff but it fascinates me!
As far as CSS code...phffffft!  It doesn't work here or I should say ,it doesn't work as expected here.....I sure wish we could change font colors and styles.  I'm looking for work arounds. 
CARRY ON!
properties (22)
authorbeekerst
permlinkre-pragmaticpassion-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t152328761z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-03-11 15:23:39
last_update2018-03-11 15:23:39
depth2
children0
last_payout2018-03-18 15:23:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length567
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,725,147
net_rshares0
@resteemy ·
You have been resteemed by @resteemy, courtesy of @beekerst!
Want to increase your following? Read more about me [here](https://steemit.com/resteemy/@resteemy/introducting-resteemy)
properties (22)
authorresteemy
permlink20180311t011741786z
categorysteemit
json_metadata{}
created2018-03-11 01:17:42
last_update2018-03-11 01:17:42
depth1
children0
last_payout2018-03-18 01:17:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length181
author_reputation26,467,584,277
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,614,299
net_rshares0
@sunnieside ·
Thanks for the info @beekerst, I'm gonna give this a shot at some point for sure!
properties (22)
authorsunnieside
permlinkre-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t135708553z
categorysteemit
json_metadata{"tags":["steemit"],"users":["beekerst"],"app":"steemit/0.1"}
created2018-03-11 13:57:09
last_update2018-03-11 13:57:09
depth1
children1
last_payout2018-03-18 13:57:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation1,114,147,830,587
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,710,005
net_rshares0
@beekerst ·
Thanks for the comment @sunnieside......here is a useful link for newbies I hope you like it! [Help to Boost Post](https://steemit.com/steemit/@raclariu/comprehensive-list-of-paid-voting-bots-resteem-bots-and-bidding-bots)
properties (22)
authorbeekerst
permlinkre-sunnieside-re-beekerst-how-to-line-up-images-in-a-steemit-post-20180311t144748194z
categorysteemit
json_metadata{"tags":["steemit"],"links":["https://steemit.com/steemit/@raclariu/comprehensive-list-of-paid-voting-bots-resteem-bots-and-bidding-bots"],"app":"steemit/0.1"}
created2018-03-11 14:47:48
last_update2018-03-11 14:47:48
depth2
children0
last_payout2018-03-18 14:47:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length222
author_reputation5,538,746,023,478
root_title"How to Line up Images In a Steemit Post"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,718,629
net_rshares0