zzdsport
/
Mens
/
Thru the Lens: The John Muir Trail
Thru the Lens: The John Muir Trail
Dec 21, 2024 9:53 PM

  By David Clock

  Last year, David Clock hiked California’s 211-mile John Muir Trail. His striking photos reveal the grandeur of the trail’s surrounding terrain, and they kick off our series: Thru the Lens: Photo Journeys of the Major Thru-Hikes.”

  var lightbox_transition = 'elastic'; var lightbox_speed = 800; var lightbox_fadeOut = 300; var lightbox_title = false; var lightbox_scalePhotos = true; var lightbox_scrolling = false; var lightbox_opacity = 0.201; var lightbox_open = false; var lightbox_returnFocus = true; var lightbox_trapFocus = true; var lightbox_fastIframe = true; var lightbox_preloading = true; var lightbox_overlayClose = true; var lightbox_escKey = true; var lightbox_arrowKey = false; var lightbox_loop = true; var lightbox_closeButton = true; var lightbox_previous = "previous"; var lightbox_next = "next"; var lightbox_close = "close"; var lightbox_html = false; var lightbox_photo = false; var lightbox_width = ''; var lightbox_height = ''; var lightbox_innerWidth = 'false'; var lightbox_innerHeight = 'false'; var lightbox_initialWidth = '300'; var lightbox_initialHeight = '100'; var maxwidth=jQuery(window).width(); if(maxwidth>900){maxwidth=900;} var lightbox_maxWidth = maxwidth; var lightbox_maxHeight = 700; var lightbox_slideshow = false; var lightbox_slideshowSpeed = 2500; var lightbox_slideshowAuto = true; var lightbox_slideshowStart = "start slideshow"; var lightbox_slideshowStop = "stop slideshow"; var lightbox_fixed = true; jQuery(document).ready(function(){ jQuery('.huge_it_gallery_like_cont_107911 .huge_it_like_count').each(function(){ if(jQuery(this).text()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) jQuery('.huge_it_gallery_like_cont_107911 .huge_it_dislike_count').each(function(){ if(jQuery(this).text()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) var thumbLike; jQuery('.huge_it_gallery_like_cont_107911 .huge_it_like_thumb').each(function(){ thumbLike=jQuery(this).attr('data-status'); if(thumbLike=='liked'){ jQuery(this).parent().find('.like_thumb_up').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) var thumbDislike; jQuery('.huge_it_gallery_like_cont_107911 .huge_it_dislike_thumb').each(function(){ thumbDislike=jQuery(this).attr('data-status'); if(thumbDislike=='disliked'){ jQuery(this).parent().find('.dislike_thumb_down').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) function randomString(length, chars) { var result = ''; for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; return result; } jQuery(document).on("click tap",".huge_it_gallery_like_cont_107911 .huge_it_gallery_like_wrapper",function(){ var image_id=jQuery(this).parent().find('.huge_it_like_count').attr('id'); var status=jQuery("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status'); function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function getCookie(name) { var cookie = " " + document.cookie; var search = " " + name + "="; var setStr = null; var offset = 0; var end = 0; if (cookie.length > 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset) if (end == -1) { end = cookie.length; } setStr = unescape(cookie.substring(offset, end)); } } return(setStr); } function delCookie(name) { document.cookie = name + "=" + "; expires=Thu, 01 Jan 1970 00:00:01 GMT"; } var resStatus=jQuery(this).parent().find("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status'); var resStatus2=jQuery(".huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status'); //alert(resStatus2); ///////////////////////////// if(resStatus2==undefined){ if(resStatus=='unliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var cookie=setCookie('Like_'+image_id, randomString(10, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), date.toUTCString()); }else if(resStatus=='liked'){ var cookie=getCookie('Like_'+image_id); } }else{ if(resStatus=='unliked'&&resStatus2=='unliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var cookie=setCookie('Like_'+image_id, randomString(10, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), date.toUTCString()); }else if(resStatus=='unliked'&&resStatus2=='disliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var newCookie=getCookie('Dislike_'+image_id); var cookie=setCookie('Like_'+image_id, newCookie , date.toUTCString()); delCookie('Dislike_'+image_id); }else if(resStatus=='liked'){ var cookie=getCookie('Like_'+image_id); } } var data={ action:'huge_it_video_gallery_ajax', task:'like', image_id:image_id, cook:getCookie('Like_'+image_id), status:status } jQuery.post('https://www.msrgear.com/blog/wp-admin/admin-ajax.php',data,function(response){ if(response){ response=JSON.parse(response); if(response.like){ var likeNumber=response.like; if((likeNumber.length>3||likeNumber.length>4||likeNumber.length>5)&&likeNumber.length6||likeNumber.length>7||likeNumber.length>8)&&likeNumber.length9||likeNumber.length>10||likeNumber.length>11){ likeNumber=likeNumber.slice(0, -9)+'b'; } response.like=likeNumber; } if(response.dislike){ var dislikeNumber=response.dislike; if((dislikeNumber.length>3||dislikeNumber.length>4||dislikeNumber.length>5)&&dislikeNumber.length6||dislikeNumber.length>7||dislikeNumber.length>8)&&dislikeNumber.length9||dislikeNumber.length>10||dislikeNumber.length>11){ dislikeNumber=dislikeNumber.slice(0, -9)+'b'; } response.dislike=dislikeNumber; } if(response.like3||likeNumber.length>4||likeNumber.length>5)&&likeNumber.length6||likeNumber.length>7||likeNumber.length>8)&&likeNumber.length9||likeNumber.length>10||likeNumber.length>11){ likeNumber=likeNumber.slice(0, -9)+'b'; } response.like=likeNumber; } if(response.dislike){ var dislikeNumber=response.dislike; if((dislikeNumber.length>3||dislikeNumber.length>4||dislikeNumber.length>5)&&dislikeNumber.length6||dislikeNumber.length>7||dislikeNumber.length>8)&&dislikeNumber.length9||dislikeNumber.length>10||dislikeNumber.length>11){ dislikeNumber=dislikeNumber.slice(0, -9)+'b'; } response.dislike=dislikeNumber; } if(response.like7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) jQuery('.huge_it_gallery_like_cont_107911 .huge_it_dislike_count').each(function(){ if((jQuery(this).text().length>3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) var thumbLike; jQuery('.huge_it_gallery_like_cont_107911 .huge_it_like_thumb').each(function(){ thumbLike=jQuery(this).attr('data-status'); if(thumbLike=='liked'){ jQuery(this).parent().find('.like_thumb_up').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) var thumbDislike; jQuery('.huge_it_gallery_like_cont_107911 .huge_it_dislike_thumb').each(function(){ thumbDislike=jQuery(this).attr('data-status'); if(thumbDislike=='disliked'){ jQuery(this).parent().find('.dislike_thumb_down').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) function randomString(length, chars) { var result = ''; for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; return result; } }); }else if(response.typeOfres=='video'){ jQuery('#video_view9_cont_wrapper10 .load_more_button').show(); jQuery('#video_view9_cont_wrapper10 .loading').hide(); if(jQuery("#video_view9_cont_wrapper10 .pagenum:last").val()==jQuery("#video_view9_cont_wrapper10 #total").val()) { jQuery('#video_view9_cont_wrapper10 .load_more_button').hide(); } jQuery('.huge_it_gallery_like_cont_107911 .huge_it_like_count').each(function(){ if((jQuery(this).text().length>3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) jQuery('.huge_it_gallery_like_cont_107911 .huge_it_dislike_count').each(function(){ if((jQuery(this).text().length>3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) var thumbLike; jQuery('.huge_it_gallery_like_cont_107911 .huge_it_like_thumb').each(function(){ thumbLike=jQuery(this).attr('data-status'); if(thumbLike=='liked'){ jQuery(this).parent().find('.like_thumb_up').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) var thumbDislike; jQuery('.huge_it_gallery_like_cont_107911 .huge_it_dislike_thumb').each(function(){ thumbDislike=jQuery(this).attr('data-status'); if(thumbDislike=='disliked'){ jQuery(this).parent().find('.dislike_thumb_down').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) function randomString(length, chars) { var result = ''; for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; return result; } } }else{ alert("no"); } },"json"); } });

  View more of Davids photos at: www.davidclockphotography.com   

  Originally Published March 9th, 2016.

Comments
Welcome to zzdsport comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2024 - www.zzdsport.com All Rights Reserved