 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
November 12th, 2012, 02:39 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2011
Posts: 65
| 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.
|
| |
November 12th, 2012, 03:03 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
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.
|
| |
November 12th, 2012, 03:26 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2011
Posts: 65
|
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.
|
| |
November 12th, 2012, 04:44 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
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.
|
| |
November 12th, 2012, 09:00 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2011
Posts: 65
|
Thank you for the replies, Chuck. I found something with the link you provided that I will try when I have some time.
|
| |
November 12th, 2012, 09:07 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
Yeah no problem thats why I gave you the link as that is who makes that script |
| |
November 15th, 2012, 06:05 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2011
Posts: 65
| Quote:
Originally Posted by Chuck S | Yes, that is the one. I still haven't had time to do it but hopefully I will later today.
|
| |
November 15th, 2012, 07:34 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
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.
|
| |
November 18th, 2012, 01:22 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Apr 2011
Posts: 65
| Quote:
Originally Posted by Chuck S 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.
|
| |
November 18th, 2012, 01:36 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:11 PM. | |