chaitanya15385 0 Newbie Poster

please help me in scaling image when displaying from external folder . here is my code. very urgent

if ($news->getString("image_file")) {
             if(file_exists(EXTRAFILE_DIR."/".$news->getString("image_file"))) {
                ?>
                <tr>
                    <td colspan="2">

                    <img src="<?=EXTRAFILE_URL?>/<?=$news->getString("image_file")?>" width="780" height="500" alt="logo">


                    </td>
                </tr>
                <?
            }
        }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.