Home › Forums › WoodMart support forum › 360 product view speed
360 product view speed
- This topic has 3 replies, 2 voices, and was last updated 5 years, 3 months ago by
Elise Noromit.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
June 16, 2020 at 8:13 pm #204076
opticienvpParticipantHi,
I would like to change the speed of the 360 product view because it’s to fast.
Thank you
June 16, 2020 at 10:50 pm #204098
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
Please try to upload more images and check. The more images the more time to list.
Best Regards
June 17, 2020 at 10:38 am #204191
opticienvpParticipantHi,
that’s what i did but still not working well.
is there any function like the basel theme ?
function basel_product_360_view() { $images = basel_get_360_gallery_attachment_ids(); if( empty( $images ) ) return; $id = rand(100,999); $title = ''; $frames_count = count( $images ); $images_js_string = ''; ?> <div class="product-360-button"> <a href="#product-360-view"><span><?php _e('360 product view', 'basel'); ?></span></a> </div> <div id="product-360-view" class="product-360-view-wrapper mfp-hide"> <div class="basel-threed-view threed-id-<?php echo esc_attr( $id ); ?>"> <?php if ( ! empty( $title ) ): ?> <h3 class="threed-title"><span><?php echo ($title); ?></span></h3> <?php endif ?> <ul class="threed-view-images"> <?php if ( count($images) > 0 ): ?> <?php $i=0; foreach ($images as $img_id): $i++; ?> <?php $img = wp_get_attachment_image_src( $img_id, 'full' ); $width = $img[1]; $height = $img[2]; $images_js_string .= "'" . $img[0] . "'"; if( $i < $frames_count ) { $images_js_string .= ","; } ?> <?php endforeach ?> <?php endif ?> </ul> <div class="spinner"> <span>0%</span> </div> </div> <script type="text/javascript"> jQuery(document).ready(function( $ ) { $('.threed-id-<?php echo esc_attr( $id ); ?>').ThreeSixty({ totalFrames: <?php echo $frames_count; ?>, endFrame: <?php echo $frames_count; ?>, currentFrame: 1, imgList: '.threed-view-images', progress: '.spinner', imgArray: [<?php echo $images_js_string; ?>], height: <?php echo $height ?>, width: <?php echo $width ?>, responsive: true, playSpeed: 300, navigation: true }); }); </script> </div> <?php }
Otherwise, how can i slow the speed ?
Thank you.June 17, 2020 at 12:07 pm #204234
Elise NoromitMemberHello,
Unfortunately, there is no option in WoodMart. You need to add more images. One-click lists 5 images and it cannot be changed.
Best Regards
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to create new topics. Login / Register