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

Here is one of my classic tips for removing the white space around different size photos when viewing them in the photo viewer. Normally when you have different size photos the smaller ones tend to have a lot of white space around them, this CSS code will adjust the viewer depending on the size of the photo.

I have added a few different size photos here  http://bizzssite.ning.com/photos so you can see it working. Just add the css to your custom css section. Oh it will work on all devices too.

Here is the code for you

/* Adjust the viewer to adjust to photo size eliminating white space **/

.photoDetailPage-image > img {
    position: relative; display: flex; max-height: 100vh; height:auto; margin: 0px auto ;}
.photoDetailPage-image { position: relative;}
.photoDetailPage .image-aspect-4-3 {
    width: 100%;
    height: auto;
max-height:100vh;
padding-bottom:0px; }

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

  • Very nice John.  Thank you!  With any luck, Ning could incorporate this into their 3.0 improvements.

  • Hi John. I should admit that it's really nice tip :). I'll definitely inform our engineers that the photos looks much better on the page in such case.
    Thank you,
    Ning Team.

    • Yahoo! 

      3239171?profile=original

    • Thanks Kyrl, that's great news about passing this on to the team. :-)

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

Rosas † Negras liked Bizz's discussion How I added Different Profile Theme Choices, Profile Page Size and Profile Cover Image Size Options For Members To Choose From
4 hours ago
Rosas † Negras replied to Bizz's discussion
How I added Different Profile Theme Choices, Profile Page Size and Profile Cover Image Size Options For Members To Choose From
"This is Ning story! in about 15 years never seen an artist like you! thanks as you know I was…"
6 hours ago
Bizz posted a discussion
THE CODE ETC BELOW CAN BE FOUND ALSO ON MY SITE IN A BLOG PAGE AND ALSO SOME IMAGES OF THE THEME…
12 hours ago
Bizz replied to JAIME DIAZ SALAZAR's discussion
Chat Page CSS
"The chat columns can be adjusted by dragging them up or down
With regards to the icons adjusting…"
13 hours ago
JAIME DIAZ SALAZAR posted a discussion
Good day to Everyone,I would like to know if somebody can help me out with my site's chat page…
yesterday
Rosas † Negras replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Don impara a lavorare sui codici invece di lamentarti 3.0 È  superiore di gran lunga....prima di…"
Thursday
Tony19 replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Hello Ana,I had a look at the platform you’re talking about and you’re right, it’s awesome.
It…"
Thursday
Tony19 liked Ana Massien's discussion Possibly Ning 2 or Ning 1.5
Thursday
⚡JFarrow⌁ replied to Ana Massien's discussion
Emoji work in module headers and newsfeed
"anywhere except for inside the HTML itself."
Wednesday
⚡JFarrow⌁ replied to Ana Massien's discussion
Front end edits
"Most likely not"
Wednesday
⚡JFarrow⌁ updated their profile photo
Wednesday
Ana Massien replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Dood we have not even spoke in this thread since June 2020. I don't see why you came to bump it…"
Wednesday
More…

Meanwhile, you can check our social media channels