mirror of
https://github.com/friendica/friendica
synced 2025-04-26 00:30:12 +00:00
Simplified proxy handling
This commit is contained in:
parent
dfc1b1e7a5
commit
e519b782fd
6 changed files with 30 additions and 196 deletions
|
@ -1207,7 +1207,7 @@ class OStatus
|
|||
}
|
||||
|
||||
// Is it a remote picture? Then make a smaller preview here
|
||||
$preview = ProxyUtils::proxifyUrl($preview, false, ProxyUtils::SIZE_SMALL);
|
||||
$preview = ProxyUtils::proxifyUrl($preview, ProxyUtils::SIZE_SMALL);
|
||||
|
||||
// Is it a local picture? Then make it smaller here
|
||||
$preview = str_replace(["-0.jpg", "-0.png"], ["-2.jpg", "-2.png"], $preview);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue