Topic: Parallax image to fit width

firstascent priority asked 2 years ago

Expected behavior images in Parallax should fit to the width of the screen without zooming in

Actual behavior an image in Parallax seems to zoom in to 100% size causing little to be seen of the entire image, image total width should fit. You can see this on one of the examples, the actual image you can only see the first left half since it is zoomed in, but if you look at the raw image there is so much more to the scene that isn't shown. .

Resources (screenshots, code snippets etc.)

Dawid Wajszczuk staff answered 2 years ago


The image needs to be zoomed in this way in order to provide similar parallax effect on different screen sizes.

Keep coding,

firstascent priority commented 2 years ago

Thanks Dawid, is there no options around this? I specifically upgraded and paid extra for the Advanced package specifically to use the parallax option with MDB5. It's literally the only feature in the Advanced package that I needed. I was expecting to be able to recreate the same effects from MDB4 and Jarallax.

But doing so, using the exact same image, I can't even see what the image is due to it zooming in so much now.

Dawid Wajszczuk staff commented 2 years ago

You can try to play around with options (especially scale and horizontalAlignment) . You can find them under API tab

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: Yes