Connect with us

Northeast

Philadelphia Dem DA slammed over suspected officer killer's punishment

Published

on

Philadelphia Dem DA slammed over suspected officer killer's punishment

Join Fox News for access to this content

Plus special access to select articles and other premium content with your account – free of charge.

By entering your email and pushing continue, you are agreeing to Fox News’ Terms of Use and Privacy Policy, which includes our Notice of Financial Incentive.

Please enter a valid email address.

Having trouble? Click here.

The family of slain Temple University police officer Chris Fitzgerald on Wednesday called for Philadelphia District Attorney Larry Krasner’s recall after he rejected use of the death penalty for the suspect in Fitzgerald’s murder.

Fitzgerald, a 31-year-old husband and father of five, had been trying to stop teenagers dressed in black from committing a carjacking on a Saturday night along the edge of Temple’s campus when then-18-year-old Miles Pfeffer shot him six times in the head — all captured on Fitzgerald’s body-worn camera.

Advertisement

They have been pushing for Pfeffer to be sentenced to death ever since, but they found out Tuesday night that Krasner would be declining to do so.

“As a uniformed police officer in the city of Philadelphia … volunteering his time off duty away from his family to give back, for someone like that, who made us so proud as a family, to be struck down in the streets of Philadelphia and for the district attorney to decide that this isn’t worthy of … a judge or jury to consider the death penalty as a means of punishment for this offense is reprehensible,” Joel Fitzgerald, Christopher’s father, a five-time police chief and Philadelphia native, told Fox News Digital.

FATHER OF TEMPLE UNIVERSITY POLICE OFFICER SHOT ON DUTY TELLS PHILDELPHIA DA HE’S ‘NOT GOING AWAY’

Slain Temple University police officer Christopher Fitzgerald is pictured with his father, Joel Fitzgerald Sr., former police chief of Waterloo, Iowa. (Handout)

Due to Joel Fitzgerald’s professional background, his family “knows and understands the legal system.” 

Advertisement

“Imagine what happens every day to families across Philadelphia,” he said.

TEMPLE POLICE SHOOTING SUSPECT SHOT OFFICER 3 MORE TIMES AS HE LAY ON GROUND WITH HEAD WOUND: OFFICIALS

Slain Temple University police officer Christopher Fitzgerald was a 31-year-old husband and father of five. (Handout)

Pfeffer was charged in February 2023 with murder, murder of a law enforcement officer, robbery, carjacking, possession of an instrument of crime, and other related charges, the district attorney’s office said at the time.

The now-19-year-old allegedly robbed Fitzgerald of his gun after shooting him, and authorities say the suspect fled the scene and went on to commit a carjacking after killing the officer. U.S. Marshals and Bucks County police arrested Pfeffer the next day in his hometown of Buckingham Township.

Advertisement

TEMPLE UNIVERSITY OFFICER FATALLY SHOT IN HEAD IS SON OF FORMER TEXAS POLICE CHIEF: ‘SELFLESS SERVICE’

The quick apprehensions of two minors initially pursued by slain Temple University police officer Christopher Fitzgerald helped lead to the capture of suspected killer Miles Pfeffer, authorities said. (Philadelphia Police Department/U.S. Marshals)

A civil lawsuit filed by the Fitzgerald family against Pfeffer’s parents and his mother’s boyfriend alleges that Pfeffer’s mother picked the suspect up in Philadelphia after the shooting and drove him home.

Fitzgerald’s family fears Krasner will try to make a plea deal with the defendant for third-degree murder instead of first-degree and avoid a jury trial because he has his “own agenda,” Joel said.

“What we’re very conscious of now is [Krasner’s] ineffectiveness and his inability to allow citizens to make the decision. He’s taken that decision out of their hands. And if it can happen to us, it can happen to you,” Joel said, calling the DA “problematic.”

Advertisement

Philadelphia District Attorney Larry Krasner (AP Photo/Matt Rourke/File)

Dustin Slaughter, spokesperson for Krasner’s office, told Fox News Digital that Krasner has been “consistent with his oath to seek justice and uphold the law” and “will not seek the death penalty in the case of Miles Pfeffer, who murdered Police Officer Fitzgerald.”

“This decision was made after extensive input over many hours from the family of Officer Fitzgerald, and from experts. The members of the DAO committee that considers possible death penalty matters include attorneys with a cumulative total of hundreds of years of homicide and other criminal trial and appeal experience,” Slaughter said, referring to a committee Krasner created to consider potential death penalty cases.

Slaughter said the committee “reviewed all aspects of the case itself and all obtainable information on the defendant prior to making their recommendations to DA Krasner, who made the final determination.”

Pfeffer faces multiple charges, including murder of a law enforcement officer. (U.S. Marshals)

Advertisement

“The input of the family is deeply appreciated and was carefully considered by the committee and DA Krasner prior to his decision. The DAO looks forward to continuing to support the family’s needs and to vigorously prosecuting this terrible murder,” Slaughter said.

Marissa Fitzgerald, Christopher’s widow, told Fox News Digital that “it is important for all of the city of Philadelphia to know how Larry [Krasner] handles cases that are so heinous like this.”

“He’s basically sending a message that it’s OK for you to brutally execute not only a police officer but a family man – a husband, a father, a son, a brother – and you’ll get a slap on the wrist. And it’s stating that he doesn’t care what we want as victims,” she said.

Miles Pfeffer allegedly shot and killed Temple University police officer Christopher Fitzgerald in February 2023. (Handout)

Marissa added that her family is already living a “nightmare,” and for Krasner to drag them “through the mud like this is disgusting, it’s distasteful, and the citizens of Philadelphia need to know what kind of DA they have on their hands.”

Advertisement

The Fitzgerald family is calling for residents to recall Krasner due to his handling of Christopher’s case.

PHILADELPHIA OFFICER SHOT IN HAND WHILE SERVING WARRANT

The Temple University Police Association called Krasner a “disgrace” in a statement posted to Facebook on Wednesday.

Christopher Fitzgerald served with the Temple University police since October 2021. (Temple University Police Association)

“The disgrace of a District Attorney Larry Krasner, will NOT seek the death penalty in the murder case of our hero, Sgt. Christopher Fitzgerald,” the association wrote. “Absolutely devastating news for the Fitzgerald family and law enforcement officers throughout Philadelphia.”

Advertisement

NYPD CHIEF BLASTS MIGRANTS’ ATTACK ON OFFICERS AS MUGSHOTS OF SUSPECTS RELEASED

Krasner has been vocal about his opposition to the death penalty. Just days before the DA’s office filed charges against Pfeffer, Krasner issued a statement in support of Pennsylvania Gov. Josh Shapiro’s opposition to the death penalty.

Suspect Miles Pfeffer is shown in a holding cell. (FOX 29 News Law Enforcement sources)

“Given Governor Shapiro’s previous and consistent support for upholding the death penalty as Attorney General, today’s announcement that Shapiro now opposes the death penalty is a very welcome and encouraging evolution in his position,” Krasner said in a Feb. 16, 2023, statement.

In 2019, Krasner’s office found that 72% of death penalty cases in Philadelphia between 1978 and 2017 were “ultimately overturned,” his office said in a press release.

Advertisement

“The death penalty in Pennsylvania overwhelmingly applies to Black and brown defendants, mentally impaired defendants, and poor defendants who cannot afford legal counsel and are assigned court-appointed lawyers. It does not do what the law requires – apply the ultimate penalty to the worst offenders who commit the worst homicides. Rather, it applies the ultimate penalty to the poorest and most impaired defendants,” the DA said at the time.

Philadelphia District Attorney Larry Krasner speaks in Philadelphia, on Jan. 11, 2024. (AP Photo/Matt Rourke)

Gianno Caldwell, Fox News analyst and founder of the Caldwell Institute for Public Safety, on which Joel Fitzgerald serves as a board member, released a Wednesday statement saying the Fitzgerald family is calling “on Pennsylvania Attorney General Michelle Henry to empower newly appointed Special Prosecutor Michael Untermeyer to adopt the case.”

CLICK TO GET THE FOX NEWS APP

“Police unions, including the Philadelphia FOP Lodge 5, Temple University Police Association, and the PA State FOP, have also joined in condemning the fact that Krasner will not seek the death penalty in this case; to not give judge or jury even the option for considering death in this heinous crime is asinine,” Caldwell said.

Advertisement

The Fox analyst, whose younger brother was fatally shot in Chicago in June 2022, noted that “murders have increased every year Krasner has been in office. (A staggering 57% increase in murders compared to pre-pandemic numbers.)”

Carjackings, armed robberies and burglaries have also increased since 2020, Caldwell said.

Read the full article from Here

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Northeast

Democratic socialist Mamdani ally mounts bid for US House of Representatives

Published

on

Democratic socialist Mamdani ally mounts bid for US House of Representatives

NEWYou can now listen to Fox News articles!

New York state Assemblymember Claire Valdez, an ally of New York City Mayor Zohran Mamdani, has mounted a bid for the U.S. House of Representatives.

“I’m a union organizer, Assemblymember, and democratic socialist running for Congress in NY-07. I came to politics through low-wage jobs and the labor movement. That’s the perspective I’ll bring to Washington to take on oligarchy, fascism, and war — and win for working people,” she wrote in a post on X.

Valdez has called for the abolition of U.S. Immigration and Customs Enforcement (ICE).

‘THE PEOPLE’S QUR’AN’: MAMDANI ANNOUNCES NYC QURAN EXHIBIT WITH BOOK BELONGING TO REVOLUTIONARY ACTIVIST

Advertisement

New York Assemblymember Claire Valdez.  (Erik McGregor/LightRocket via Getty Images)

“When we called this administration fascist last year, we were called hyperbolic. We were called hysterical,” she said in recent public remarks. 

“We must abolish ICE at the federal level,” she asserted, calling it a “militarized terrorist organization that is destroying our country.”

Her campaign website makes clear that she is an advocate for “Medicare for All.”

NYC MAYOR ZOHRAN MAMDANI SET TO EARN NEARLY $260K, ABOUT 80% MORE THAN HIS PRIOR SALARY

Advertisement

New York City Mayor Zohran Mamdani attends a news conference at the headquarters of the NYPD on Jan. 6, 2026, in New York City. (Spencer Platt/Getty Images)

“Claire will fight to pass Medicare for All, paid for by taxing billionaires and corporations that have rigged the system, and deliver universal health care for every New Yorker,” the site notes.

“Housing is a human right — but Congress has chosen to side with landlords and speculators instead of working people. Claire will fight to guarantee safe, affordable housing for all, because housing is not a commodity. It’s a necessity,” the site also states.

NOEM REPORTS MAMDANI-DHS TALKS HAVE ‘NOT BEEN PRODUCTIVE,’ SAYS NYC MAYOR ‘CHOSE TO STAND WITH ILLEGALS’

Rep. Nydia Velázquez, D-N.Y., holds a “Musk Steals” protest sign with fellow Democrats as President Donald Trump speaks during an address to a joint session of Congress at the U.S. Capitol in Washington, D.C., on March 4, 2025. (WIN MCNAMEE/POOL/AFP via Getty Images)

Advertisement

Valdez will compete in a Democratic primary in June for the seat being vacated by Rep. Nydia Velazquez, D-N.Y.

Velazquez, who currently represents the Empire State’s 7th Congressional District, is not seeking re-election in 2026. Brooklyn Borough President Antonio Reynoso already announced his 2026 primary bid for the House seat last year.

Read the full article from Here

Continue Reading

Boston, MA

Boston Catholics offer mixed views on pope’s remarks following US operation in Venezuela – The Boston Globe

Published

on

Boston Catholics offer mixed views on pope’s remarks following US operation in Venezuela – The Boston Globe


Digennaro’s wife, Judy, shook her head in disagreement.

“I feel quite the other way,” said Judy Digennaro, 72. “It might start rifts, but what’s most important is people talking, and that’s what the pope is trying to do.”

During a news conference with Vatican reporters in December, the pope called for dialogue between the United States and Venezuela. On Friday, he said violence had replaced dialogue as a means of resolving conflict and reiterated an earlier call to “respect the will of the Venezuelan people, and to safeguard the human and civil rights of all, ensuring a future of stability and concord.”

Some local Catholics said the remarks felt like an overstep. David Digennaro said he supports the Trump administration’s move to shift Venezuela’s leadership away from Maduro and would prefer the pope to limit his comments to humanitarian issues.

Advertisement

“If he’s talking about the people that live [in Venezuela,] that’s fine,” he said. “But if he’s referencing Maduro, that’s politics, and I’d turn away from it.”

Outside St. Clement Eucharistic Shrine in Back Bay, parishioners in crisp suits and colorful dresses filed out onto the sidewalk after Mass on Sunday afternoon. Several people said the pope’s address had not been mentioned during the service and praised the clergy for keeping the news separate from religious teaching.

Others voiced support for Pope Leo’s broader message of peace and dialogue but said they prefer that the pontiff avoid specifics.

Jordan Williamson, 35, of Quincy, said the pope is not the authority on international affairs. She said she looks to politicians for details about global conflicts and to Leo for moral guidance.

“The pope should be a moral voice that lays down the framework for why we do things,” said Williamson, who has attended the Boylston Street church for more than a decade. “But we all have jobs … and Mass is meant to transcend all of that.”

Advertisement

Williamson’s friend, Sandra Pastrana of Arlington, agreed, saying she often steers her Bible study group away from political debate. Still, she said she recognizes that there are moments when religious leaders need to speak their minds.

“It’s never good for the church to get involved in politics, but as a moral voice of how the world should live within what’s going on, the church has a duty to say these things,” said Pastrana, 63.

Judy Digennaro said Leo’s address was encouraging, adding that society cannot move forward positively without open discussion.

“I’m happy when the pope has something to say and when he promotes peace and justice,” she said. “As Catholics, that’s what we’re all about, so if he’s willing to speak and say something, all the better.”

Many Boston churchgoers were unaware of the pope’s address and said that they focused more on the words of their individual priests.

Advertisement

Gobran Hanna, an electrical engineer who moved to Cambridge in June and attends St. Clement Eucharistic Shrine, said he tends to spend time with members of the Catholic community who are less focused on politics, but conversations with fellow congregants about Israel, Ukraine, and Venezuela help keep him informed about global affairs.

Hanna said he welcomes Leo’s efforts to speak out against international injustices.

“When the pope makes a statement that might be related to politics, I look at that and see how it applies to my own life,” said Hanna, 23. “It’s not about somebody on this side or somebody on that side, it’s about how we can apply the lessons that the pope is teaching us.”


Lila Hempel-Edgers can be reached at lila.hempeledgers@globe.com. Follow her on X @hempeledgers and on Instagram @lila_hempel_edgers.





Source link

Advertisement
Continue Reading

Pittsburg, PA

Nearly a Century Old, This Sears House Kit Home in Fineview is Still Fine | Pittsburgh Magazine

Published

on

Nearly a Century Old, This Sears House Kit Home in Fineview is Still Fine | Pittsburgh Magazine


Built in 1928, the hillside home is packed with original millwork, charming details and loads of storage.

PHOTOS BY DONNELLY MEDIA, LLC

When Alena Taylor Keefe was in elementary school, her family moved to 2035 Biggs Ave. in Pittsburgh’s Fineview neighborhood.

The year was 1975, and she recalls being delighted with the Craftsman-style home built from a Sears housing kit that her family would call theirs for the next 50 years.

“It’s a place that you can call home,” she says. “Some places you can’t really say that about, but it’s just such a great family home.”

Advertisement

33 Biggs 32

Built in 1928, the house has three bedrooms and one bathroom packed into 1,500 square feet.

“I grump about the fact that there’s only one bathroom and the kitchen is small because I love to cook, but I still made it work for many family suppers,” Keefe says. “We hosted holiday dinners where we extended the dining table into the living room to accommodate everybody. It was just home.”

03 Kitchen

The first floor of the home has that small, yet functional kitchen, a nicely sized dining room and a large living room that spans the front of the home. Keefe warmly recalls coming down the front staircase on Christmas mornings and posing in formal dresses beside the steps before school dances. She says her family also enjoyed the long front porch that runs along the living room.

“My dad would come out and read the newspaper, and I’d be on the swing with my mom while she worked on her crochet,” she says.

On the second floor, three equally sized bedrooms share a hallway bathroom with double sinks. A set of pull-down stairs leads to ample storage under the eaves.

Advertisement

07 Dining

Now in their 80s, Keefe’s parents have moved to a maintenance-free home near Keefe’s current home in Beaver County, so they can continue to enjoy family dinners together, but without the responsibility of home ownership.

While Keefe is wistful about selling the home her parents carefully loved for half a century, she is certain a new buyer will recognize its charm and value.

“So much has never been touched,” she says. “There is original woodwork, an original fireplace that still has a coal chute to the outside and a lovely built-in China cabinet in the dining room.”

18 Bedroom 1

Keefe also touts the home’s plentiful storage; there’s a clean, dry basement, attic storage and a detached two-car garage with a lower level could be space for a workshop, studio or general storage.

Keefe notes the roof was replaced in the last decade; there also were updates to the HVAC, including adding air conditioning, and the family replaced the upstairs flooring in preparation to sell the carefully maintained home.

Advertisement

30 Rear Yard

The house is now listed by Brian Larson of Howard Hanna for $245,000. He says it checks all the right boxes for a first-time homebuyer — or anyone shopping for a clean, well-maintained home.

“This is a home that has clearly been loved and lived in with care,” says Larson. “Over the years, attention has been given to maintaining and improving the property in a way that supports comfortable, everyday living. While no home of this era is ever ‘finished,’ per se, the overall condition reflects consistent stewardship rather than deferred maintenance.”

34 Neighborhood 1 With Pin

Larson says buyers should not have issues with financing for this home, including loans through the Federal Housing Administration or other specialized lending programs. Priced right around the city’s median home price, Larson encourages shoppers to check it out.

“Many first-time buyer programs are available that may offer down payment assistance and competitive interest rates, helping make homeownership more attainable for qualified buyers,” he says.

Larson adds that he loves the sun-soaked room that runs along the front of the home, as well as the wide front porch and the property’s proximity to Fineview Park.

Advertisement

“Fineview is also known as one of the best vantage points in the city for fireworks and skyline views,” he adds. “With convenient bus access and an easy commute to Downtown, the neighborhood offers a unique blend of tranquility, accessibility and city connection.”

25 Front Porch View

Keefe says that while the neighbors have changed over the course of 50 years, her family has always been thankful for the close-knit Fineview community.

“There are some chickens running loose, but everybody up there is so kind,” she says with a laugh. “The mailman lives up on the corner; everybody knows everybody. It’s just so nice.”

“);
$spagination = flexSlider.find(“.spagination”);
SPagination.Init($spagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
flexSlider.flexAnimate(p-1, true);
}
});
}
}
}

Advertisement

function gtx_gallery_slide_before(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;
slideshow_ad_loaded = false;

var current_html = $active_slide.children(“.gtx-ad-container”).html();
if (current_html) {$active_slide.children(“.gtx-ad-container”).html(current_html.trim())}

gtx_track_slide( slide_obj );

changeURL(parseInt($active_slide.attr(“data-attachment_id”)));

//THUMBS SYNC – PAGINATED THUMBNAIL NAVIGATION
if($thumbs!==”” && navigation == “paginated_thumbs”){
var right_item=$slider.find(“.slides li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img[data-i=”+(slide +1 )+”]”).addClass(“flex-active-slide”);
$page=$thumbs.find(“.slides>li”).has(“li[data-i=”+(slide +1 )+”]”);
$thumbs.flexAnimate($page.index(), true);
}
}
}

Advertisement

function gtx_gallery_slide_after(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;

if($active_slide.hasClass(“gtx-ad-slide”)==1){
if ($active_slide.find(‘iframe’).length === 1) {
$active_slide.find(‘iframe’)[0].remove();
}
$slider.delay(100).queue(function(){
$(this).addClass(“gtx-gallery-loading”).dequeue();
});
$ad_container=$active_slide.children(“.gtx-ad-container”).first();

if ($($ad_container).html().length li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img”).eq(right_item -1 ).addClass(“flex-active-slide”);
$thumbs.flexAnimate(right_item-1, true);
}
}

if(typeof(googletag) != “undefined” && googletag !== null && googletag.pubads){
// Refresh ads within view

var tmp_now=new Date().getTime();
var last_refresh_diff= tmp_now – last_ad_refresh;
if(last_refresh_diff > 1000){
reset_ads_and_refresh();
last_ad_refresh=tmp_now;
}
}

Advertisement

//LAZY LOAD
range=5;
var $slides_to_hanle=$all_slides.slice(slide, slide + range +1);
if(slide – range >= 0){
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(slide – range, slide ));
}else{
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(0, range ));
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(range * -1 ));
}
if(slide + range >= $all_slides.size()){
//handle first slides
$slides_to_hanle= $.merge($slides_to_hanle, $all_slides.slice(0,range));

}

$slides_to_hanle.find(“.gtx-image-container[data-background]”).each(function () {
var src = $(this).attr(“data-background”);
$(this).css(“background-image”, “url(“+src+”)”).removeAttr(“data-background”);
});

adjustNavHeight();
if( typeof SPagination !== “undefined” && flexSlider.find(“.spagination”).length>0 ){
if(SPagination.page != slide+1){
SPagination.page = slide + 1;
SPagination.Start();
}
}

}

Advertisement

function reset_ads_and_refresh(){
if(!advanced_ad_refresh){
// if option is not enabled, refresh all ads, minus out of page ads
if(ads_to_refresh.length > 0){
googletag.pubads().refresh(ads_to_refresh);
}
return;
}

if(ads_to_refresh.length == 0){
return;
}

var newAds = [];
var fullAdsToRefresh = [];
for(var i = 0; i wTop && slot.tn_positionY 8){
gtx_gallery_thumbs_set_backwards()
}
}

function gtx_gallery_thumbs_after(slide_obj){
if(slide_obj.count > 8){
gtx_gallery_thumbs_set_backwards()
}
}

function gtx_gallery_paginated_thumbs_start(slide_obj){
gtx_gallery_paginated_thumbs_lazy();
if(false && slide_obj.count > 8){
$thumbs.find(“.flex-control-nav.flex-control-paging”).removeClass(“flex-control-paging”).addClass(“g-pagination”);
}
if(slide_obj.count > 8){
$thumbs.find(“.flex-control-nav.flex-control-paging”).hide().after(“”);
$pagination = $thumbs.find(“.spagination”);
SPagination.Init($pagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
$thumbs.flexAnimate(p-1, true);
}
});
}
}

Advertisement

function gtx_gallery_paginated_thumbs_before(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
gtx_gallery_paginated_thumbs_lazy(slide_obj);

}

function gtx_gallery_paginated_thumbs_after(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
//THUMBS SYNC – Go to first slide of this batch
if($thumbs!==”” && navigation == “paginated_thumbs”){

var $active_slide=$slider.find(“.slides>li.flex-active-slide”);
var $active_thumb_page=$thumbs.find(“.slides>li.flex-active-slide”);
//Check if the current slide is within this thumb batch
if(!$active_thumb_page.find(“li[data-i=”+$active_slide.attr(“data-i”)+”]”).size()){
first_thumb=$active_thumb_page.find(“li”).first().attr(“data-i”);
flexSlider.flexAnimate(first_thumb – 1, true);
}

}

Advertisement

if( typeof SPagination !== “undefined” && $thumbs.find(“.spagination”).length>0 ){
if(SPagination.page != slide+1){
SPagination.page = slide + 1;
SPagination.Start();
}
}

}

function gtx_gallery_paginated_thumbs_lazy(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
//LAZY LOAD THUMBS
if($all_thumbs!==”” && navigation == “paginated_thumbs”){
range=1;
var $slides_to_hanle=$all_thumbs.slice(slide, slide + range + 1);
if(slide – range >= 0){
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(slide – range, slide ));
}else{
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(0, range ));
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(range * -1 ));
}
if(slide + range >= $all_thumbs.size()){
//handle first slides
$slides_to_hanle= $.merge($slides_to_hanle, $all_thumbs.slice(0,range));

}
$slides_to_hanle.each(function () {
$(this).find(“img[lazy-src]”).each(function () {
var src = $(this).attr(“lazy-src”);
if(!src) return;
$(this).attr(“src”,src).removeAttr(“lazy-src”);
$thumbs.find(“img[lazy-src=””+src+””]”).attr(“src”,src).removeAttr(“lazy-src”);
});
});
}

}

Advertisement

function adjustNavHeight(){
imageHeight = flexSlider.find(“.gtx-slide-img.flex-active-slide .gtx-image-container”).outerHeight();
if(imageHeight > 0){
flexSlider.find(“.flex-prev,.flex-next”).css(“top”,Math.round(imageHeight/2));
}
}

var nextSlotId = 1;
function generateNextSlotName() {
var id = nextSlotId++;
return “adslot_” + id+”_”+Math.floor( Date.now() / 1000 );
}

function addAdInto(selector,options) {
try{
gtx_gallery_enable_dfp();
}catch(err) {
}

var slide=options.slide || -1;
var slotName = generateNextSlotName();
var ad_index = 0;

// Create a div for the slot
var slotDiv = document.createElement(‘div’);
slotDiv.id = slotName; // Id must be the same as slotName
$( selector ).append( slotDiv );
try{
ad_index=$( selector ).closest(“.gtx-ad-slide”).attr(“data-i-only-ads”);
}catch(err) {

Advertisement

}

// Define the slot itself, call display() to
// register the div and refresh() to fetch ad.
googletag.cmd.push(function() {
slideshow_ad_loaded = true;
adslots[slotName] = googletag.defineSlot(‘home-design’, [300, 250], slotName)
.addService(googletag.pubads())
.setTargeting(“placement”, “gallery”)
.setTargeting(“slide”, slide)
.setTargeting(“post”, ‘350640’)
.setTargeting(“category”, ‘[“hot-property”]’)
.setTargeting(“galleryAdIndex”, ad_index);

googletag.display(slotName);
googletag.sizeMapping().addSize( [0,0], [[300,250]])
googletag.pubads().refresh([adslots[slotName]]);
});
}

gtx_gallery_syncHash = function(path){
pic = “”;
re = /pic/?([0-9]+)/?$/i;

if(!path && window.location.hash && window.location.hash.match(re)) path = window.location.hash;
if(!path && window.location.pathname && window.location.pathname.match(re)) path = window.location.pathname;
if(path){
matchslide = path.match(re);
if(matchslide && matchslide[1]>0){
pic = parseInt(matchslide[1]);
}
if(!isNaN(pic) && pic > 0){
slide=get_slide_by_attachment_id(pic);
if(slide>0){
avoid_next_pageview = true;
flexSlider.flexAnimate(slide – 1, true);
}
}
}else{
gtx_track_slide( )
}
}

Advertisement

function debounce(func, wait, immediate) {
var timeout;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
if (!immediate) func.apply(context, args);
};
var callNow = immediate && !timeout;
clearTimeout(timeout);
timeout = setTimeout(later, wait);
if (callNow) func.apply(context, args);
};
};

// delay the url state replacement to avoid overload
// RAYOS-271
var efficientlyReplaceState = debounce(function(title, path){
window.history.replaceState({}, title, path);
}, 1250)

function changeURL(pic){
basepath = window.location.pathname.replace(//pic/?([0-9]+)/?$/i,”/”);
if(isNaN(pic)) return;

path = basepath + “pic/”+pic+”/”;

title = “Pic “+pic;
if (typeof(window.history.replaceState) == “function”) {
efficientlyReplaceState(title, path)
} else {
window.location.hash = path;
}
}

Advertisement

function get_slide_by_attachment_id(id){
var slide=$slider.find(“.slides li[data-attachment_id=”+id+”]”).attr(“data-i”);
return parseInt(slide, 10);
}

function gtx_track_slide( slide_obj ){
if(slide_obj){
var slide = slide_obj.animatingTo;
}else{
var slide = 0;
}
$active_slide=$all_slides.eq(slide) ;

if(!avoid_next_pageview){
try{
var loc = location.pathname + “#slide” + (parseInt(slide) + 1);

if (rayos_gtm_gallery_pageviews) {
// Add gallery navigation info to dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
‘event’: ‘rayos_virtual_pageview’,
‘location’ : loc
});
}

// Legacy support for GA tracking
ga(“send”, “pageview”, loc);
if (ga.getByName(“gtxcelTracker”)) {
ga(“gtxcelTracker.send”, “pageview”, loc);
}
}catch(err){

Advertisement

}
}
avoid_next_pageview = false;
}

//Add a callback on ad render
googletag.cmd.push(function() {
googletag.pubads().addEventListener(‘slotRenderEnded’, function(event) {
var slotName=event.slot.getSlotElementId();
if(typeof adslots[slotName] !==”undefined” && !event.isEmpty){
$slider.clearQueue();
$slider.removeClass(“gtx-gallery-loading”);
}
});
});

jQuery(“#gtx-gallery-thumbs-350640”).flexslider({
animation: “slide”,
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 100,
itemMargin: 5,
move: 1,
//asNavFor: “#gtx-gallery-slider-350640”,
prevText: “”,
nextText: “”,
after: gtx_gallery_thumbs_after,
after: gtx_gallery_thumbs_before
});
$thumbs=$(“#gtx-gallery-thumbs-350640”).data(“flexslider”);
$thumbs.find(“li.gtx-thumb-img”).first( ).addClass(“flex-active-slide”);

$(“#gtx-gallery-slider-350640”).flexslider({
animation: “slide”,
pauseOnHover: true,
controlNav: false,
//animationLoop: false,
//slideshow: false,
//sync: “#gtx-gallery-thumbs-350640”,
prevText: “”,
nextText: “”,
slideshow: false,
init: gtx_gallery_slide_init,
start: gtx_gallery_slide_start,
before: gtx_gallery_slide_before,
after: gtx_gallery_slide_after
});

if(mobile_mode){
$slider.find(“.flex-direction-nav”).hide();
}

Advertisement

});





Source link

Continue Reading
Advertisement

Trending