Skip to content

Commit

Permalink
rename nopix.jpg to no_photo_found.png
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasse committed Mar 30, 2018
1 parent 3ee55b6 commit 35b4990
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adm_plugins/random_photo/random_photo.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

if(!is_file($picPath))
{
$picPath = THEME_ADMIDIO_PATH . '/images/nopix.jpg';
$picPath = THEME_ADMIDIO_PATH . '/images/no_photo_found.png';
}

if($plg_photos_show_link && $plg_max_char_per_word > 0)
Expand Down
4 changes: 2 additions & 2 deletions adm_program/modules/photos/photo_show.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@
else
{
// kein Bild uebergeben, dann NoPix anzeigen
$image = new Image(THEME_ADMIDIO_PATH . '/images/nopix.jpg');
$image = new Image(THEME_ADMIDIO_PATH . '/images/no_photo_found.png');
$image->scaleLargerSide($gSettingsManager->getInt('photo_thumbs_scale'));
}
}
else
{
if (!is_file($picPath))
{
$picPath = THEME_ADMIDIO_PATH . '/images/nopix.jpg';
$picPath = THEME_ADMIDIO_PATH . '/images/no_photo_found.png';
}
// Bild einlesen und scalieren
$image = new Image($picPath);
Expand Down
Binary file added adm_themes/modern/images/no_photo_found.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed adm_themes/modern/images/nopix.jpg
Binary file not shown.

0 comments on commit 35b4990

Please sign in to comment.