Displaying long images

All WYSIWYG Web Builder support issues that are not covered in the forums below.
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
Post Reply
Norfolkman
 
 
Posts: 65
Joined: Tue May 09, 2017 3:16 pm
Location: United Kingdom

Displaying long images

Post by Norfolkman »

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.
User avatar
Pablo
 
Posts: 22489
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Displaying long images

Post by Pablo »

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
Norfolkman
 
 
Posts: 65
Joined: Tue May 09, 2017 3:16 pm
Location: United Kingdom

Re: Displaying long images

Post by Norfolkman »

Thank you Pablo,

Unfortunately, I am calling the image from a text link, so I don't have all the different lightbox options.
User avatar
Pablo
 
Posts: 22489
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Displaying long images

Post by Pablo »

You can set the lightbox for links in the page properties.
Norfolkman
 
 
Posts: 65
Joined: Tue May 09, 2017 3:16 pm
Location: United Kingdom

Re: Displaying long images

Post by Norfolkman »

O K Thanks.
User avatar
rogerl
 
 
Posts: 202
Joined: Tue May 03, 2016 8:24 am

Re: Displaying long images

Post by rogerl »

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.
Norfolkman
 
 
Posts: 65
Joined: Tue May 09, 2017 3:16 pm
Location: United Kingdom

Re: Displaying long images

Post by Norfolkman »

Thanks, I'll give this a try.
Post Reply