A
A
Alexey Budaev2015-07-10 17:13:41
css
Alexey Budaev, 2015-07-10 17:13:41

How to add vertical scroll to Fancybox and display image to its actual width?

Good afternoon everyone!
Came with this question:
Given:

  • an image with a resolution of, for example, 1200x1312 pixels.
  • Fancybox Tool

Task: so that clicking on the preview image opens the image in its full size, i.e. across the width of the screen, it stretched to its full 1200 pixels, but in height it avoided scaling, as it does now. Those. you need to view the image from top to bottom by scrolling the mouse wheel.

Is it possible to implement such functionality using standard features?

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Kirenkov, 2015-07-10
@Markus_Kane

stackoverflow.com/questions/8753923/fancybox-2-sto...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question