Missing /> on some <img> tags Missing /> on some <img> tags
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Missing /> on some <img> tags

Started by kaptainkory, August 06, 2005, 01:52:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kaptainkory

In ecard.php, FIND (line 219):

<img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image"></a><br />

REPLACE WITH:

<img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image" /></a><br />

In image_processor.php, FIND (line 630):

print "<img src=\"$path_to_preview_image\" alt=\"{$lang_image_processor_php['preview_image_alt_text']}\">";

REPLACE WITH:

print "<img src=\"$path_to_preview_image\" alt=\"{$lang_image_processor_php['preview_image_alt_text']}\" />";

In picEditor.php: FIND (639):

<IMG src="<?php echo $imgObj->directory.$imgObj->filename?>?<?php echo rand(); ?>" <?php echo $imgObj->string?> align="absmiddle">

REPLACE WITH (and notice lowercase tag, too):

<img src="<?php echo $imgObj->directory.$imgObj->filename?>?<?php echo rand(); ?>" <?php echo $imgObj->string?> align="absmiddle" />

In report_file.php, FIND (line 186):

                        <img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image"><br />

REPLACE WITH:

                        <img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image" /><br />

In upload.php, FIND (line 2490):

    echo "<tr><td class=\"tableh2\"><img class=\"image\" src=\"".$path_to_preview."\" ></td>";

REPLACE WITH:

    echo "<tr><td class=\"tableh2\"><img class=\"image\" src=\"".$path_to_preview."\" /></td>";

In crop.inc.php, FIND (line 153):

<tr><td align="center" valign="top"><div id="imgDiv"><img src="$pic_url"></div></td></tr>

REPLACE WITH:

<tr><td align="center" valign="top"><div id="imgDiv"><img src="$pic_url" /></div></td></tr>

FIND (line 177):

      <td><img src="images/spacer.gif"></td>

REPLACE WITH:

      <td><img src="images/spacer.gif" /></td>

In media.functions.inc.php, FIND (line 117):

        return "<img src=\"" . $file_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\">";

REPLACE WITH:

        return "<img src=\"" . $file_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\" />";

FIND (line 120):

        return "<img src=\"images/thumb_{$extension}.jpg\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\">";

REPLACE WITH:

        return "<img src=\"images/thumb_{$extension}.jpg\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\" />";

Thanks.

Joachim Müller