Skip to content

Commit

Permalink
fix media source
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshnik committed Sep 14, 2024
1 parent a69bd1d commit 9e83287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/components/clientconfig/js/mgr/sections/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Ext.extend(ClientConfig.page.Home,MODx.Component,{
if (Ext.isEmpty(data.value)) {
el.update('');
} else {
el.update('<img src="'+MODx.config.connectors_url+'system/phpthumb.php?w=400&h=400&aoe=0&far=0&f=png&src=/'+data.value+'&wctx=web&source='+field.source+'&version=00000000" alt="" />');
el.update('<img src="'+MODx.config.connectors_url+'system/phpthumb.php?w=400&h=400&aoe=0&far=0&f=png&src='+data.value+'&wctx=web&source='+field.source+'&version=00000000" alt="" />');

}
},0);
Expand All @@ -172,7 +172,7 @@ Ext.extend(ClientConfig.page.Home,MODx.Component,{
if (Ext.isEmpty(data.url)) {
el.update('');
} else {
el.update('<img src="'+MODx.config.connectors_url+'system/phpthumb.php?w=400&h=400&aoe=0&far=0&f=png&src=/'+data.url+'&wctx=web&source='+field.source+'&version=00000000" alt="" />');
el.update('<img src="'+MODx.config.connectors_url+'system/phpthumb.php?w=400&h=400&aoe=0&far=0&f=png&src='+data.url+'&wctx=web&source='+field.source+'&version=00000000" alt="" />');
}
};
}
Expand Down

1 comment on commit 9e83287

@SnowCreative
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.