Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

Tip: How to display images inline?

Not all NCs are " TECH SAVVY" but we must believe that everybody wants to learn or try something new in life.
I assume that everyone knows what images are, as we all have seen images on web pages.

Know some important points:

* Inline: having images arranged in a line.
* src: The src attribute is used to specify the URL of the image (i.e. the address or filename the browser uses to retrieve the image file), e.g. <img src="http://planet-earth.bogus.us/icons/secret.pictures.gif"> <img src="grandchild.gif">
* alt: alt is used to provide an text alternative to the image for readers whose browsers do not support graphics.
* href: The href attribute specifies the link's destination: e.g. <a href="www.google.com">Google</a>

Steps:

1. Copy and paste the following "CSS Code" into Custom CSS Box. Make sure "div.desc" width size is equal to image width size. I have used width=183px for both.
2.Copy and paste the following "HTML code" into notepad.
3. Now go to HTML/Text Box and click on image icon> Chose file> select Your Image> Copy image link from Link field> Go to "HTML Code" Remove "YOUR_IMAGE_LINK.JPG" and replace with your image link just now you have copied.
4. Copy the html code from notepad and paste it into Html/Text Box> Update> and Save.
You are done!

CSS Code :

/***DISPLAY PHOTO OR IMAGES INLINE***/
div.imgs{
height:auto;
width:auto;
float:left;
text-align:center;
}
div.imgs img {
display: inline;
padding: 5px;
}
div.desc {
text-align: center;
font-weight: normal;
width: 183px;
margin: 3px;
padding: 5px;
}
/***DISPLAY PHOTO OR IMAGES INLINE***/

 

HTML Code:

<div class="imgs">
<a target="_blank" href="www.google.com">
<img src="YOUR_IMAGE_LINK.JPG" alt="First Image" width="183" height="122">
</a>
<div class="descp">First Image</div>
</div>
<div class="imgs">
<a target="_blank" href="www.google.com">
<img src="YOUR_IMAGE_LINK.JPG" alt="Second Image" width="183" height="122">
</a>
<div class="descp">Second Image</div>
</div>
<div class="imgs">
<a target="_blank" href="www.google.com">
<img src="YOUR_IMAGE_LINK.JPG" alt="Third Image" width="183" height="122">
</a>
<div class="descp">Third Image</div>
</div>

Want to go beyond this tip? If you are looking for someone to re-design your ning site, or any kind of ning help, feel free to contact me via my email id bernardmax2@gmail.com

Live Preview: Here
Preview:

web page counter

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Thank you so much for this useful tip. Happy Diwali!

    • NC for Hire

      You are welcome Challa, and same to you...

  • Nice tip, Bernard! 

  • This reply was deleted.
    • NC for Hire

      Hi Riccardo, not sure about your issues because the codes you have provided is related to column set up. But this tip is all about "how to display image inline" ?

      Hope you understand.

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Michael Rua Franco posted a discussion
Hello,¿Do you know how I can resolve this problem?My internet antivirus is detecting a possible…
yesterday
Disha Rush updated their profile
Jul 13
Marly posted a discussion
Is there anyway to make comments from one member's profile to another appear on the activity feed.…
Jul 11
Josef Essberger updated their profile photo
Jun 25
kostasgr liked Alex - Rosas † Negras's discussion I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
Jun 13
Daniel J. Wilford updated their profile
Jun 12
Pam Givens posted a discussion
HiIs there a way to post photos that won't go onto my page.  We just had a great conference and all…
May 31
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Styling Groups with New Design Studio with CSS and a Swift Hack
"nice assist
 "
May 19
⚡JFarrow⌁ replied to Alex - Rosas † Negras's discussion
I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
"nice tip!"
May 16
Brandon Cameron updated their profile
May 11
John Hodge updated their profile
May 9
John Hodge updated their profile
May 2
More…

Meanwhile, you can check our social media channels