Lysefjordcam
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Tracks] Lazy load featured image loading info/animationThanks Ben,
I know that I’ll get a better performance with smaller/compressed images, but the images are automatically saved from my network camera and updated every 2-3 minutes so manual compression is not possible. I’m willing to give it a try if you could outline the process for the js and css and where to put it in the theme files. ??All the best
Morten Haugen
LysefjordcamForum: Themes and Templates
In reply to: [Tracks] Modify the prev/next post tekst and linksThanks That did the trick.
All the best
MortenForum: Themes and Templates
In reply to: [Tracks] Auto refresh of Featured ImageOK, Ben. Thanks for looking in to it.
I will investigate later.
Have a good one.All the best
MortenForum: Themes and Templates
In reply to: [Tracks] Auto refresh of Featured ImageHi Ben and thx for getting back to me.
Embedding the youtube stream; its a good idea, but it’s really not what i’m looking for. I had not tried to embedd yt yet …well I did try it now that you mentioned it, but I did not get it to work.
I really love the way your Tracks theme shows the beautiful images from the Lysefjord area. So the auto refresh function was just something that could make it even cooler ??
Do you got any ideas on how to get this to work with Tracks?All the best
MortenForum: Themes and Templates
In reply to: [Tracks] External featured image for latest webcam imageResolved…
Hi,
I found the support post about Tracks theme and a fix. So I did that and it’s awesome!
It just works.Case closed.
All the best
MortenForum: Themes and Templates
In reply to: [Tracks] External featured image for latest webcam imageBen,
I got it to work (YEAH!) with som code i found on the plugin support pages.The details are as follows:
Go to functions.php lines 278-313, function ct_tracks_featured_image. You'll see there are two if blocks, the former checks if ( has_post_thumbnail( $post->ID ) ), the second if ( $has_image == true ). Between these two if blocks, add the following code: if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post->ID ) ) { $has_image = true; $image = nelioefi_get_thumbnail_src( $post->ID ); } This new block basically checks if the current post ($post->ID) has an external featured image and, if it does, it gets the URL of that image.
I did copy only the function from the main theme over to the child theme and did the “patch” on that. And its working super smooth !! ??
Thanks again for your support and you have a good one!
All the best
MortenForum: Themes and Templates
In reply to: [Tracks] External featured image for latest webcam imageBen,
I’ve disabled the child tweaked function for now. It seems i can’t get it to work atm.
– and its getting late here in Norway. Thanks a lot for your great support so far!One final thought
I was thinking about another approach that might work to get external web cam images.
Is it possible to use custom CSS instead of the plugin; to override background-image for a given feature image on a given page based on page ID?Morten
Forum: Themes and Templates
In reply to: [Tracks] External featured image for latest webcam imageHi Ben,
That was quick, thanks.
…but I must be doing something wrong!?
I’m using your code now and it looks almost ok. All thats missing is the picture.
I can see in the page source that the correct ref to external image is applied, but the image box is still white. What can be wrong? Do you have time for a quick look on the page?All the best
MortenForum: Themes and Templates
In reply to: [Tracks] External featured image for latest webcam imageHi Ben,
Thank you for getting back to me so quickly ??
With great confidence I followed your instructions only to get to a point I just had to admit I’m not a programmer – this was a to-big-task for me as a “one man crew” :/
So my question is; how do I re-build the “wp_get_attachment_image_src” that I now have in the Track_Child functions.php to become a “get_the_post_thumbnail” type of function?
I tried… I really did…
Besides that I unintentionally took down the site a few times.. oops;
The only thing I accomplished was to remove the feature-image with a white box of nothing. ??Help me Ben Sibley, you’re my only hope. (Freely quoted from Star Wars)
Morten
Hi again,
Is this the main support site/thread for Nelio External Featured Image?
How long does it normally take before anyone replies on a request?I would really like to get some assistance to fix the plugin/theme to work on my site.
All the best
Morten Haugen
Lysefjordcam