Skip to content

Commit 8583a1a

Browse files
committed
[BUGFIX] use placehold.co for placeholder images (TYPO3 v11)
1 parent 6d6b39c commit 8583a1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/Domain/Model/PlaceholderImage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public function getHeight(): int
5252

5353
public function getPublicUrl(): string
5454
{
55-
return 'https://via.placeholder.com/' . $this->width . 'x' . $this->height;
55+
return 'https://placehold.co/' . $this->width . 'x' . $this->height;
5656
}
5757
}

Documentation/DataStructures.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ for images:
112112
* `SMS\FluidComponents\Domain\Model\Image` (alias: `Image`) is the base class of all image types as well as a factory
113113
* `SMS\FluidComponents\Domain\Model\RemoteImage` wraps a remote image uri
114114
* `SMS\FluidComponents\Domain\Model\FalImage` wraps existing FAL objects and local image resources, such as `File` and `FileReference` or an image from an extension
115-
* `SMS\FluidComponents\Domain\Model\PlaceholderImage` generates a placeholder image via placeholder.com
115+
* `SMS\FluidComponents\Domain\Model\PlaceholderImage` generates a placeholder image via placehold.co
116116

117117
for files:
118118

0 commit comments

Comments
 (0)