How can I put the images and thumbnails into a table? How can I put the images and thumbnails into a table?
 

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

How can I put the images and thumbnails into a table?

Started by gonzalo, July 01, 2004, 02:33:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gonzalo

Hi to everyone!

I would like to put every image and thumbnails into a table. I want to use a special border for all images so they could look nice.

For example:

<table>
(here goes the code that makes the thumbnails an images appear)
</table>

Where can I edit this?

Is it in displayimage.php?
Thanks in advance!!!
;)
Gonzalo

Joachim Müller

in displayimage.php, find             $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title; //added by gaugau
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
            $pic_html .= "</a>\n";
        } else {
            $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" /><br />\n";
        }
    } elseif ($mime_content['content']=='document') {
        $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
    } else {
            $pic_html = "<object {$image_size['whole']}><param name=\"autostart\" value=\"true\"><param name=\"src\" value=\"". $picture_url . "\"><embed {$image_size['whole']} src=\"". $picture_url . "\" autostart=\"true\"></embed></object><br />\n";
    }
and edit accordingly. Putting it into an additional table is not necessary imo, as it already exists within a table cell. Better edit the css properties of that particular table cell imo.

GauGau