Load ThumborUrl from an image url
- Vorherrschende Sprache
- PHP
- Sterne
- 125
- Forks
- 42
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi,
I was wondering, is it possible to load an url into a ThumborUrl Class, to then perform other actions on it?
For example (pseudo code):
```php
$filename = "//example.org/****thumbor-signature***/0x95:300x395/300x300/http://path-to-image.jpg";
$image = Thumbor\Url\Builder::construct(THUMBOR_SERVER, THUMBOR_SECRET, $filename);
echo $image; // will output the same as $filename;
$image->resize(500,500);
echo $image; // will output //example.org/****NEW-thumbor-signature***/0x95:300x395/500x500/http://path-to-image.jpg
```
I suppose this is not possible, but (for me) it would be a nice add-on...
Thanks!
Ben
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.