imagesidebar 0.100.3: Fix permanent display of unknown mime icon (#145)

This commit is contained in:
onli 2022-12-12 17:33:43 +01:00 committed by GitHub
parent 420b659d87
commit f15808ad26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
0.100.3:
-----
* Fix image display when fetching from ML
0.100.2:
-----
* Hotfixes for PHP 8 (surrim)

View file

@ -232,6 +232,7 @@ class media_sidebar extends subplug_sidebar {
if (is_array($images)) {
$output_str .= $this->get_config('media_intro');
foreach ($images as $image) {
serendipity_prepareMedia($image);
if (isset($image['name'])) {
if ($image['hotlink'] == 1) {
$thumb_path = $image_path = $image['path'];

View file

@ -68,7 +68,7 @@ class serendipity_plugin_imagesidebar extends serendipity_plugin {
$propbag->add('description', PLUGIN_SIDEBAR_IMAGESIDEBAR_DESC);
$propbag->add('stackable', true);
$propbag->add('author', 'Andrew Brown (Menalto code), Matthew Groeninger (Unified/Media Lib. Code), Stefan Lange-Hegermann (Zooomr Code), Matthew Maude (Coppermine code)');
$propbag->add('version', '0.100.2');
$propbag->add('version', '0.100.3');
$propbag->add('license', 'BSD');
$propbag->add('requirements', array(
'serendipity' => '0.8',