Benjamin

Members
  • Content count

    1
  • Joined

  • Last visited

  1. Hi, i´ve validated BT-Slideshow to be W3C conform. But there is still one error with the thumbnail images. W3C says: Line 232, Column 182: there is no attribute "rel" Our site is: http://mobile-hochzeits-djs.de I´ve located the code at default.php, Line 22, but can´t find a fix to get this totaly validated. <?php foreach ($items as $item) { if (!empty($item->link)) { $img = '<a href="' . $item->link . '"><img class="cubeRandom" src="' . JURI::root() . "modules/mod_btslideshow/images/{$module->id}/slideshow/{$item->file}" . '" rel="' . JURI::root() . "modules/mod_btslideshow/images/{$module->id}/thumbnail/{$item->file}" . '" alt="' . "{$item->title}" . '"/></a>'; } else { $img = '<img class="cubeRandom" src="' . JURI::root() . "modules/mod_btslideshow/images/{$module->id}/slideshow/{$item->file}" . '" rel="' . JURI::root() . "modules/mod_btslideshow/images/{$module->id}/thumbnail/{$item->file}" . '" alt="' . "{$item->title}" . '"/>'; } Can anyone help me to change the code for validation? Thanks in advance! Benjamin