Happy New Year to one and all!
I need to display images which are generally 650px wide x height between 4000 & 6000px preferably in a light box. The problem is that the browser defaults to showing the full height, rather than the full width with scroll bar, which results in a long thin image. I realise that this is a browser function rather than a programming one, but is there a way in html to force a visitor's browser to show full width initially? Yes, I know they can click on the image to enlarge it to full size. At the moment, I add the image to an HTML page and then call up the page, but this is a long-winded approach when I have a lot of images. Any thoughts would be most welcome.
Displaying long images
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
-
-
- Posts: 65
- Joined: Tue May 09, 2017 3:16 pm
- Location: United Kingdom
Re: Displaying long images
I think that most lightboxes will try to fit the image on the screen instead of showing scrollbars.
But WWB support many different (third party) lightboxes so maybe one of them does what you want?
https://wysiwygwebbuilder.com/lightboxes.html
But WWB support many different (third party) lightboxes so maybe one of them does what you want?
https://wysiwygwebbuilder.com/lightboxes.html
-
-
- Posts: 65
- Joined: Tue May 09, 2017 3:16 pm
- Location: United Kingdom
Re: Displaying long images
Thank you Pablo,
Unfortunately, I am calling the image from a text link, so I don't have all the different lightbox options.
Unfortunately, I am calling the image from a text link, so I don't have all the different lightbox options.
Re: Displaying long images
You can set the lightbox for links in the page properties.
-
-
- Posts: 65
- Joined: Tue May 09, 2017 3:16 pm
- Location: United Kingdom
Re: Displaying long images
O K Thanks.
Re: Displaying long images
When you set the link properties i.e. open in light box, there is a settings box. Open that and set height and width there. So if you select Fancybox the settings would be
height: xxx,
width: xxx
Need to check the lightbox web sites for correct syntax, been some time since I used this. They are not all the same.
height: xxx,
width: xxx
Need to check the lightbox web sites for correct syntax, been some time since I used this. They are not all the same.
-
-
- Posts: 65
- Joined: Tue May 09, 2017 3:16 pm
- Location: United Kingdom
Re: Displaying long images
Thanks, I'll give this a try.