Seite 1 von 1

Bilder statt text+rahmen

Verfasst: 03.05.2007 16:11
von m4k4v3l1
hi, ich hab diesen mod hier eingebaut:
http://www.phpbb.de/viewtopic.php?t=146 ... sc&start=0

und ich habe das problem, dass es bei mir so dargestellt wird:

[ externes Bild ]

lässt sich das irgendwie ändern?

hier der auszug aus viewtopic.php

Code: Alles auswählen

   $post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : ''; 
    require_once ( $phpbb_root_path . "includes/function_mcp.$phpEx" ); //careful, it must be include_once or require_once (require_once reports more errors) 
        load_lang("lang_mcp"); 

    if ( $is_auth['auth_mod'] ) 
    { 
        $tmp_url = append_sid("mod_cp.".$phpEx."?action=em&" . POST_USERS_URL . "=" . $poster_id . "&" . POST_POST_URL . "=" . $postrow[$i]['post_id']); 
        $em_img = "<a href='" . $temp_url . "'><img title='" . $lang['mcp_em'] . "' alt='" . $lang['mcp_em'] . "' /></a>"; 
        $em = "<a href='" . $tmp_url . "'>" . $lang['mcp_em'] . "</a>"; 

        $tmp_url = append_sid("mod_cp.".$phpEx."?action=vw&" . POST_USERS_URL . "=" . $poster_id . "&" . POST_POST_URL . "=" . $postrow[$i]['post_id']); 
        $vw_img = "<a href='" . $tmp_url . "'><img title='" . $lang['mcp_vw'] . "' alt='" . $lang['mcp_vw'] . "' /></a>"; 
        $vw = "<a href='" . $tmp_url . "'>" . $lang['mcp_vw'] . "</a>"; 
    } 
    else 
    { 
       $em_img = ''; 
       $em = ''; 
       $vw_img = ''; 
       $vw = ''; 
    } 
die bilder habe ich:
/templates/Vision/images/icon_vw.gif
/templates/Vision/images/icon_em.gif


ich weiß das ich es schon in dem thread da gepostet habe, aber hier passt das ja besser, weil das support ist und hier lesen, denke ich mal mehr leute ;)

Verfasst: 04.05.2007 18:12
von Miriam

Code: Alles auswählen

$em_img = "<a href='" . $temp_url . "'><img title='" . $lang['mcp_em'] . "' alt='" . $lang['mcp_em'] . "' /></a>";

Code: Alles auswählen

         $vw_img = "<a href='" . $tmp_url . "'><img title='" . $lang['mcp_vw'] . "' alt='" . $lang['mcp_vw'] . "' /></a>";
Da fehlt doch was am IMG-Tag. Wo ist denn die Quelle hin?

Code: Alles auswählen

<img src="bildquelle" title="Bildtitel" alt="Alternativtext">