andyro
Forum Replies Created
-
Thanks – worth trying on a rainy day!
Thanks Sayontan. I’ve also written the theme’s author to find a solution. Photonic is amazing and I’d like to lean on it heavily for showing my portfolio of projects. I’ll see if I can disable the FlexSlider and possibly masterslider to see if that helps.
(ps – I tried disabling the theme’s js and lightbox features via the photonic plugin and by unloading the masterslider plugin, but both attempts broke my site)
Phew – thanks. I had switched on jetpack’s site accelerator, but didn’t realize I’d ticked their carousel image display also. Turned it off in settings – all good. Thanks very much for taking a look.
Waiting is no problem, glad it’s solution is pending – Thank you ?? As for videos – oh well, in the interim I’ll try to resolve that in my theme’s script, which seems to not be working – nothing to do with photonic but does youtube still work with this kind of call (‘video_id’ is parsed from the URL input by a user) I’m just wondering if that embed format is still relevant?
<div class=”imageContent videoFormat”>
<?php if(get_field(‘video_type’) == “youtube”):?>
<div class=”um_video youtube”><iframe width=”1024″ height=”720″ src=”https://www.youtube.com/embed/<?php the_field(‘video_id’);?>” frameborder=”0″ allowfullscreen></iframe>
</div>
<?php elseif(get_field(‘video_type’) == “vimeo”):?>
<div class=”um_video vimeo”>
<iframe src=”//player.vimeo.com/video/<?php the_field(‘video_id’);?>” width=”1024″ height=”720″ frameborder=”0″ webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
<?php else:?>
<div class=”um_video selfHosted”>
<video width=”1024″ height=”720″ controls><source src=”<?php the_field(‘video_file’); ?>” type=”video/mp4″>Your browser does not support the video tag.</video>
</div>
<?php endif;?>
</div>Also – not a video in this gallery but same issue – wanting thumbnails on top but this is how they appear: https://www.andythomson.ca/galleries/extreme-north-lodge/
Loving the slideshow option too. Such a great plugin that will help me accelerate updating loads of content I have without futzing with WP galleries. In fact my next goal is to shut off many of the features in my theme’s handling of images in favour of photonic, which is superior in so many ways!
Works beautifully – thanks again!
Is there a way to call ^ that?
Source in CSS:
<div class=”lds-css ng-scope”><div style=”width:100%;height:100%” class=”lds-dual-ring”><div></div></div><style type=”text/css”>@keyframes lds-dual-ring {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes lds-dual-ring {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.lds-dual-ring {
position: relative;
}
.lds-dual-ring div {
position: absolute;
width: 80px;
height: 80px;
top: 60px;
left: 60px;
border-radius: 50%;
border: 12px solid #000;
border-color: #cd2325 transparent #cd2325 transparent;
-webkit-animation: lds-dual-ring 1s linear infinite;
animation: lds-dual-ring 1s linear infinite;
}
.lds-dual-ring {
width: 200px !important;
height: 200px !important;
-webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}
</style></div>https://andythomson.ca/wp-includes/images/loading.gif (just a test, this one is ugly but it”s a placeholder)
Nice – sorry my description was bad – spinning gif yes. Maybe it’s easier to simply replace the .gif with say: https://loading.io/spinner/dual-ring/ (that features transparency so no white background) – I know it would get wiped when your pugin updates…. so if you don’t mind sharing the css and I can post another loading gif somewhere to call… but it’s late, I’m cashing out, thanks for all your help!
Awesome. I want to zip it now. No more questions. But I just can’t help myself. Is there a way to use a different loadbar – your apple-style snake-eating tale has a white div/box behind it – any way to choose a snazzier one? I know, fussy, fussy. But it’s an architecture site – I’m trying to make everything better all the time ?? Will try the tile size, great tip.
ooh – one more quick question while you’re here – I LOVE the effect of the Mosaic gallery – but it seems so much slower to load, is there anything I can do to goose it a bit? I’ve changed the same page to that gallery style now… (review posted btw).
Perfect – no problem.Thank-you.
PS – I super appreciate you taking a look at this on a Friday night – really love fixing stuff while I’m in the headspace to do battle with my site!!