• Resolved jeppeb

    (@jeppeb)


    I would like to automatically resize the slide image to fill the slide container. It can be done using background-size: contain;
    background-repeat: no-repeat;

    on the element (or in a class). Could you add that as a setting?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @jeppeb,

    Thank you for the suggestion.

    We will look into it and see if we can add it as a settings.

    Kind regards.

    Thread Starter jeppeb

    (@jeppeb)

    Hi @imtiazrayhan ,

    I thought I could check out the code and see if I could do it myself, and I think I managed to do it correctly, so I have made a pull request for you. I hope you will accept it.

    I will also try to add an option to give slides a visibility time range (I am using slides (changed from “slide anything” to your package yesterday) to show upcoming events in our local community, and I would like not to have to remember to take them down when the events are over).

    Cheers,

    Jeppe

    Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @jeppeb,

    Sorry, I didn’t notice before.

    I will review your pull request. Thank you for contributing. I really appreciate it.

    Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Contain background image’ is closed to new replies.