Releases: php-embed/Embed
Releases · php-embed/Embed
2.2.5
2.2.4
2.2.3
New adapter for flickr
2.2.2
2.2.1
2.2
New imagesBlacklist
option to define the images you want to avoid (Thank, @soullivaneuh). You can use *
and ?
special characters in this way:
$config = [
'adapter' => [
'config' => [
'minImageWidth' => 16,
'minImageHeight' => 16,
'imagesBlacklist' => [
'http://example.com/full/path/to/image.jpg', //images with this exact url
'https?://ugglyimages.com/*', //images begining by "http://ugglyimages.com/" (http or https)
'*/bad_image.gif', //image ending in "/bad_image.gif"
'https?://test.*/*.png/', //more complex pattern
]
]
]
];
2.1.2
2.1.1
2.1.0
- Improved the capture of images in the html. The images with rel="nofollow" will be ignored
- More info provided by each image: width, height, mime, size, url and providers in which appears
- The
$info->images
array is numeric. - Improved the way of choose the main image. Now the bigger image found in the first provided will be choosen by default.