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

Forum

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 Network to add comments!

Join Ning Creators Network

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! 

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

This reply was deleted.

Search the Creators Network

Latest Activity

Constantine is now a member of Ning Creators Network
6 hours ago
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Philip,
We have replied to you in private message, as the reply contain some personal informatio…"
7 hours ago
Kyryl_Ning_Support replied to Hugh's discussion Support Tickets Closed Even if Error not Fixed
"Hi Hugh,
We do apologise for the inconveniences, the system could close your ticket automatically.…"
8 hours ago
Kyryl_Ning_Support replied to Maureen Jansen's discussion Message group members
"Hi there,
To send the message to all members of the group please go to the Group and Press the Butt…"
8 hours ago
Saurabh replied to Saurabh's discussion Home page showing error
"The error again started"
16 hours ago
Jungla replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"How can you do new stuff, when you can't even fix old errors? My website, today gives all day Our a…"
17 hours ago
Philip Voice replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Has this update affected networks?

Can you please check landscapejuicenetwork.com as it's been dow…"
19 hours ago
Kos replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Moi?  *lol*  Yeah, once I'm 'in' something, I tend to stick around forever 'til you show me the exi…"
19 hours ago
Pat Howlett replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Kos, you are certainly one who kept me coming back :]
I hope to have something worth sharing soon. "
20 hours ago
Kos replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Great to see an old face return!  Welcome back Pat :)"
20 hours ago
⚡JFarrow⌁ replied to shironala's discussion Hi can somone help me with the css problem ?
"i see that you have your x_body padding set at  padding-top: 154px; which may be the reason for you…"
20 hours ago
Thisisbully replied to Bizz ( John )'s discussion My New Events Notification Messages
"Nice"
21 hours ago
shironala replied to shironala's discussion Hi can somone help me with the css problem ?
""
21 hours ago
Pat Howlett replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"I'm back :]
Backstory...I became an NC back in 2006 and ran multiple local business networks (at on…"
22 hours ago
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi there,
Unfortunately, the CAPTCHA could prevent sign ups from bots only, that is making the life…"
23 hours ago
Traddie replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Guys. Sorry to disappoint you but I have the CAPTCHA enabled and keep changing the quiz question…"
yesterday
Ning via Facebook

CAPTCHA - No bots and spammy content As of now you can easily prevent spammy and bots’…

Mike Collins replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"Sorry John been away and just catching up - the link says page cannot be found "
yesterday
Naveen Jain, Susana, JORGE AVALOS SORIA and 3 more joined Ning Creators Network
yesterday
Thisisbully replied to Kos's discussion Ning Get Your Servers Back Up
"on mobile"
yesterday
More…