• Resolved henny440

    (@henny440)


    I am using Basic Slideshow ([ngg src=”galleries” ids=”22″ display=”basic_slideshow”]) within my own theme on a do_shortcut. It works great on windows 10 (any browser), but on an iPad it will not show the slideshow until I refresh the screen (it just shows the forwards and backwards arrows). Once I have done this for each of the Activities pages, it works beautifully. https://staging.lowtheradventure.org.uk/scouting/#scouts-activities

                    <article>
                          <?php $lowther_carousel = get_post_meta($post_id = get_the_ID(), 'lowther-carousel', true); ?>
    
                           <div class="lowther-carousel">
                                 <?php echo do_shortcode($lowther_carousel);?>
                      
                          </div>
    
    				    <h1><?php the_title(); ?></h1>
    				    
    				    <?php if ( $post->post_parent == 1505 && $post->ID != 1503 ) { ?>
    				    <blockquote class="section-quote right">
    					    <?php the_post_thumbnail(); ?>
    					    <p><?php echo get_post_meta($post->ID, 'quote', true); ?></p>
    				    </blockquote>
    				    <?php } ?>
    				    
    				    <?php the_content(); ?>
    				   
     				    
    				</article>
    

    I have tried fiddling with my code to remove the do_shortcode and using nggShowSlideshow, but whilst the slideshow loads on the very first page, it then reverts back to not loading on the other pages until each is refreshed. You can see this on the ‘Our Facilities’ (https://staging.lowtheradventure.org.uk/corporate/#corporate-rooms) – click on each in turn on an ipad to see the issue. The code I used for this is

                   <article>
                          <?php $lowther_gallery_id = get_post_meta($post_id = get_the_ID(), 'lowther-gallery-id', true); ?>
    
                           <div class="lowther-carousel">
                                  <?php $lowther_slideshow_width = get_variable("SlideShow Width");
    							        $lowther_slideshow_height = get_variable("SlideShow Height");
                                        echo nggShowSlideshow( $lowther_gallery_id, $lowther_slideshow_width,$lowther_slideshow_height );; ?>
                      
                          </div>
    
    				    <h1><?php the_title(); ?></h1>
    			
    				    <?php if ( $post->post_parent == 1505 && $post->ID != 1503 ) { ?>
    				    <blockquote class="section-quote right">
    					    <?php the_post_thumbnail(); ?>
    					    <p><?php echo get_post_meta($post->ID, 'quote', true); ?></p>
    				    </blockquote>
    				    <?php } ?>
    				    
    				    <?php the_content(); ?>
     
    				    
    				</article>
    

    Thank you.

    • This topic was modified 3 years, 5 months ago by henny440.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @henny440,

    Mobile browsers are known to timeout faster and this can cause the images to fail to load ( or the slider loads before them ) while accessing the page for the very first time. You can try as an experiment to create a page containing a slideshow gallery with 2 images that are 800px for the longest edge just to see if these will successfully load while accessing initially.

    Also, I’d make sure that the page doesn’t use CSS/JS caching/minify/combine for slick JS and CSS.

    Thread Starter henny440

    (@henny440)

    Hi, yes two images works. What can I do to make the slideshows with more than 2 images work?

    Could some of issues be that it is a staging website that has no indexes?

    Many thanks for your quick response to my issue!

    Plugin Contributor Imagely

    (@imagely)

    Hi @henny440,

    To be honest, I think the server is a bit slow and the images load pretty slow. You can perhaps try upgrading to a faster server or resizing the images for a faster loading.

    You may also want to experiment using a caching plugin to see if that’ll give you positive results and additionally maxing out the PHP time limit.

    • This reply was modified 3 years, 5 months ago by Imagely.
    Thread Starter henny440

    (@henny440)

    Hi

    It is on a development system so has no caching etc. I have done a test on the live site and it all appears to work as expected on my ipad, so hopefully when I go live with the revamped website it will be okay!

    Many thanks for your help.

    Thread Starter henny440

    (@henny440)

    sorry, forgot to mark my previous reply with resolved!

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

The topic ‘iPad not working with basic slideshow’ is closed to new replies.