Browse Source

typo and alt text

master
katherine 6 months ago
parent
commit
a713e5e4d9
  1. 14
      art/index.php
  2. 2
      blog/index.php

14
art/index.php

@ -145,16 +145,16 @@ if(isset($files)) {
case "gif":
echo "<a target='_blank' href=\"/art/$page/full/$file\">";
echo "<img src=\"/art/$page/full/$file\" />";
echo "<img alt='art gif' src=\"/art/$page/full/$file\" />";
echo '</a>';
break;
default:
echo "<a target='_blank' href=\"/art/$page/full/$file\">";
if( file_exists($_SERVER['DOCUMENT_ROOT'] . "/art/$page/thumbs/" . pathinfo($file)['filename'] . ".jpg") ) {
echo "<img src=\"/art/$page/thumbs/" . pathinfo($file)['filename'] . ".jpg\" />";
echo "<img alt='art thumnail' src=\"/art/$page/thumbs/" . pathinfo($file)['filename'] . ".jpg\" />";
} else {
echo "<img src=\"/art/$page/thumbs/" . pathinfo($file)['filename'] . ".png\" />";
echo "<img alt='art thumnail' src=\"/art/$page/thumbs/" . pathinfo($file)['filename'] . ".png\" />";
}
echo '</a>';
}
@ -242,16 +242,16 @@ if(isset($files)) {
echo "
<p class='thumb_strip'>
<a target='_blank' href='/art/dreams/full/nowhere.png'>
<img src='/art/dreams/thumbs/nowhere.jpg' />
<img alt='art thumnail' src='/art/dreams/thumbs/nowhere.jpg' />
</a>
<a target='_blank' href='/art/dreams/full/fuzzy.jpg'>
<img src='/art/dreams/thumbs/fuzzy.jpg' />
<img alt='art thumnail' src='/art/dreams/thumbs/fuzzy.jpg' />
</a>
<a target='_blank' href='/art/glitchity/full/bright.jpg'>
<img src='/art/glitchity/thumbs/bright.jpg' />
<img alt='art thumnail' src='/art/glitchity/thumbs/bright.jpg' />
</a>
<a target='_blank' href='/art/dreams/full/a backwards glance.jpg'>
<img src='/art/dreams/thumbs/a backwards glance.jpg' />
<img alt='art thumnail' src='/art/dreams/thumbs/a backwards glance.jpg' />
</a>
</p>
";

2
blog/index.php

@ -189,7 +189,7 @@ if(isset($page) && array_key_exists($page, $entries) ) {
. ' <a href="?p='
. $key
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">...</a><p>';
. '">...</a></p>';
}
echo '</div>';
}

Loading…
Cancel
Save