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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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