• Resolved ratamatcat

    (@ratamatcat)


    Can I have a Slideshow that is one image instead of the default three?

    I added columns=1 to the shortcode and this does show one image but it fills the themes main page or div container so the slideshow becomes huge

    What I’d like to do is be able to determine the image size of the slideshow, have it display only 1 image in a series at each time, and only allow the user to slide through each image manually (instead of the automatic timed sliding action)

    What I have so far:

    [mla_gallery ids='4938,4937' style=strip-below columns=1]

    Not sure if I’m on the right track with a slideshow type of gallery with this, but hoping for some direction

    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    You can use the main_size attribute to pick a different size for the image shown.

    Also, if you are using the gallery builder interface (via the “Add / Edit Photonic Gallery” button, or the Photonic block) all these options show up automatically and you can associate the sizes as required. You will not have to fiddle around with shortcode settings if you do that – the interface will populate the options for you.

    Thread Starter ratamatcat

    (@ratamatcat)

    hi Sayontan,

    I used the Gutenberg Photonic Block to add a gallery:

    [gallery ids='4040,3459,3457,2410,2298' columns='1' count='1' more='More' main_size='medium' speed='1000' timeout='1000' fx='fade' strip-style='button' controls='show' style='strip-below']

    I then took out ‘count’, and ‘more’ (not sure if these don’t pertain to a slideshow?):

    [gallery ids='6481,6482,6483,6484' columns='1' main_size='medium' speed='1000' timeout='1000' fx='fade' strip-style='button' controls='show' style='strip-below']

    The main_size attribute allows selection of an image size but the problem remains with columns='1' in that the image still expands to fill the page container.

    Using the column attribute is the only way I can get 1 image at a time to present as the gallery that I know of.

    Also, how can the auto movement of the slideshow be overridden so it can be controlled by the user only. It still moves through automatically.

    I am using a shortcode (I copied and pasted the Photonic builder shortcode into a native Gutenberg shortcode) as I find it faster to edit the shortcode directly once the Photonic block is created. But I don’t think this affects anything.

    thanks,

    Plugin Author Sayontan Sinha

    (@sayontan)

    You will see settings under Photonic → Settings → Generic Options → Slideshow Settings that will help you with what you are trying to do.

    1. Prevent Slideshow Autostart – your slideshow will not start automatically if you set this
    2. Slideshow Image Adjustment – choose the option to show the whitespace to the sides for narrower images

    Can you share a URL, please, in case I have been unable to understand the issue, or if the above don’t help?

    Also, are you using Photonic just for slideshows on a native WP gallery? If so, there may be more specialized plugins for the job. Photonic’s power is in all the other layouts (justified grid, mosaic etc.) and lightboxes and in dealing with multiple providers (Flickr, Google etc.) – while it does the job for simple WP slideshows, using it for this purpose is akin to buying a Ferrari to pick up groceries from the store down the street.

    Thread Starter ratamatcat

    (@ratamatcat)

    Applying the two settings you recommended got me closer.

    How can I send you my URL privately? I am using a hide my site plugin and need to provide you the password to see the front facing site

    Then you can see that the single image is now showing which is great, and the image doesn’t seem to be stretched. But the slideshow ‘container’ is still spread across the page container width, and its a gray color like a block on the white page. I want the right side arrow to come left so its on top of the right side of the image (like the left arrow is on the left side of the image)

    I want user to be able to see one image only, then click the arrow to slide the next image in. Rather than a multi-image presentation

    thanks,

    ps. Yes I am using Photonic on an MLA Gallery which is a native WP gallery you could say. Also using the Photonic Square gallery elsewhere on my site and will continue to this, the lightbox looks great

    If the Photonic slideshow turns out to not quite do as I require, could you recommend a Toyota Supra plugin for a slider that works with the MLA gallery plugin? and can I have it safely installed alongside Photonic?

    Plugin Author Sayontan Sinha

    (@sayontan)

    How can I send you my URL privately? I am using a hide my site plugin and need to provide you the password to see the front facing site

    Sorry, but asking for / providing email addresses is against forum rules, and since Photonic is a hobby for me the only place I offer support for it is here.

    But the slideshow ‘container’ is still spread across the page container width, and its a gray color like a block on the white page.

    Given that Photonic’s layouts are responsive and slideshows are by default expected to be full-width, this is to be expected. However I am surprised that you are seeing a gray colour in the background – Photonic’s background is transparent. Without a URL I am not sure if this will help, but you can try putting this in Appearance → Customize → Additional CSS:

    div.photonic-slideshow {
        max-width: 500px !important;
    }

    Basically you can set it to a width that suits your site.

    If the Photonic slideshow turns out to not quite do as I require, could you recommend a Toyota Supra plugin for a slider that works with the MLA gallery plugin? and can I have it safely installed alongside Photonic?

    Not sure about the car, but my guess is that there are quite a few slideshow plugins out there. Photonic can operate independently with respect to the slideshow plugin, but I am don’t know how MLA fits into this picture for you. What are you using MLA for? What would happen if you used the native Photonic shortcode instead of mla_gallery? Do you need to have MLA pictures show up via the slideshow plugin that you will use. If there is no hard requirement to create a slideshow via MLA I believe all your plugins will coexist.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Slideshow one image per view’ is closed to new replies.