Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make images responsive #22

Open
valadas opened this issue Jul 16, 2018 · 0 comments
Open

Make images responsive #22

valadas opened this issue Jul 16, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@valadas
Copy link
Member

valadas commented Jul 16, 2018

What version are you using right now?

  • DNN: 9.x.x
  • Media Module: 05.00.00

Is your feature request related to a problem?

When putting an image, although a width and height can be specified, the image is not responsive

Describe the solution you'd like

When the media is an image, there could be a checkbox in the image settings saying "Make image responsive", it should be ticked by default. When that is ticked the code should not use width and height and add the following style="max-width:100%;height:auto;" so that the image can never get larger than the ContentPane.

Additional context

Got this idea from Nina Meiers video at https://www.youtube.com/watch?v=UhWWRZNQwuQ&feature=youtu.be

@valadas valadas added the enhancement New feature or request label Jul 16, 2018
@WillStrohl WillStrohl added this to the 05.01.00 milestone Aug 13, 2020
@WillStrohl WillStrohl self-assigned this Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants