PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Is Lightbox max-width 100% possible? (http://www.photopost.com/forum/photopost-pro-how-do-i/148944-lightbox-max-width-100-possible.html)

PaulK November 12th, 2012 02:39 PM

Is Lightbox max-width 100% possible?
 
Is it possible to set a max-width of 100% with Lightbox and if so, how is it done?

I've tried a couple of different ways with CSS without any luck.

Chuck S November 12th, 2012 03:03 PM

Not really sure what you mean. Lightbox is already 100% of the photo you are viewing. It is a java pop not a full browser window if thats what your referring to so there are no other options than the ones you see.

PaulK November 12th, 2012 03:26 PM

I wanted to show an image at 100% per browser resolution... for example if I look at an image on my desktop computer that has a 24" monitor screen I can see a complete 1024px by 1024px picture, but I would have to scroll up, down and side to side to see the same image on my laptop that has a much smaller screen.

With regular images in a post I could add something to my additional.css template like...

post img {
max-width: 100%;
max-height: 100%;
}


but I haven't been able to figure it out for Lightbox.

I hope what I was trying to say made sense.

Chuck S November 12th, 2012 04:44 PM

You are constrained to the functiionality of Lightbox and how it is coded. Like I said lightbox is a java popup window that simply shows the large image with a white border around it and a close button. Thats about it.

If you have specific questions on lightbox you might want to ask at lightbox

Lightbox 2

I have no idea what type of support that they actually provide for there software.

PaulK November 12th, 2012 09:00 PM

Thank you for the replies, Chuck. I found something with the link you provided that I will try when I have some time.

Chuck S November 12th, 2012 09:07 PM

Yeah no problem thats why I gave you the link as that is who makes that script ;)

Chuck S November 14th, 2012 12:51 PM

Resizing bigger images to screen size - Lightbox Forum

I assume your trying some type of modification close to this.

PaulK November 15th, 2012 06:05 AM

Quote:

Originally Posted by Chuck S (Post 1304305)
Resizing bigger images to screen size - Lightbox Forum

I assume your trying some type of modification close to this.

Yes, that is the one. I still haven't had time to do it but hopefully I will later today.

Chuck S November 15th, 2012 07:34 AM

yeah not really specifically what you wanted to do since that thread is about making the popup resize when larger to go smaller to the screen width of a browser. You want to actually resize your popup larger to the screen size so I assume you mean that thread gave you ideas how you could do it. I really did not see anything there even remotely different concerning size so it was easy to know which thread you where posting about.

PaulK November 18th, 2012 01:22 PM

Quote:

Originally Posted by Chuck S (Post 1304308)
yeah not really specifically what you wanted to do since that thread is about making the popup resize when larger to go smaller to the screen width of a browser.

That's exactly what I want it to do but can't :( It appears that the edit posted in the link is for a newer version of Lightbox.

Chuck S November 18th, 2012 01:36 PM

No idea our program uses Lightbox 2 possible the discussion is for a newer version etc. You can try updating your lightbox files and making any modifications as you see fit to any newer version.

Just place the lightbox css file in our stylesheets directory and the new lightbox.js file in our js directory as that is how we use the code.


All times are GMT -5. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97