Support » Plugin: WPAdverts - Classifieds Plugin » Replace Gallery/Video Capture Image

  • Resolved lazyym

    (@lazyym)



    Hi Greg,

    I’ve been playing with the video uploading function in the new gallery. Very clean sir. I’ve always used the replace gallery function because I don’t like scrolling through images, light boxes, etc. Unfortunately when using the replace gallery function, it will not include the image capture from uploaded videos and display it with the other ad photos. Is there a way to use replace gallery and have it also include the video?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, hmm i do not think this is possible, the Replace Gallery returns all the attachments, however, the [gallery] shortcode is using only the attachments which are images (and discards anything else).

    I am guessing it is doing that based on attachment mime type, so it does not matter that the video has a thumbnail created.

    I would actually like to try your new system. Unfortunately, the images uploaded so far do not fit within the frames. All of the pictures uploaded so far have to be clicked to view them. Only a portion currently displays. Is their a way to have your new system display 100% width and auto for height?

    Plugin Author Greg Winiarski

    (@gwin)

    You can change how the images “fits” inside the gallery by adding the code below in wp-admin / Appearance / Customize / Additional CSS panel

    
    .wpadverts-slide .wpadverts-slide-img.wpadverts-slide-img-square, .wpadverts-slide .wpadverts-slide-img.wpadverts-slide-img-landscape {
        object-fit: contain !important;
    }
    

    Thanks Greg, that doesn’t do it. I want the pictures to expand to fit 100% width-wise. That squeezes them down to 100% height within the container. The container needs to expand for height responsively.

    Plugin Author Greg Winiarski

    (@gwin)

    This is not really possible the gallery needs to have defined height, otherwise, it will not display images at all.

    I will see if it is possible to use the gallery without the height being defined but i cannot tell right now if this will be doable.

    lazyym

    (@lazyym)

    Thank you sir. Just the idea that wordpress users can now offer an option for uploading videos is awesome! The big boys in the industry need some serious competition. Thank you for diving in. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Replace Gallery/Video Capture Image’ is closed to new replies.