Editing thumbnails.php Editing thumbnails.php
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Editing thumbnails.php

Started by rocks, June 16, 2008, 01:20:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rocks

Hi!
I Need to display the images in thumbnail.php file,one below the another & display image information next to the image, which is fetched from the database(pictures table).
  I copied the $template_thumbnail_view function from the samples/theme.php file to classic/theme.php & changed the <td> class to "list" from "thumbnails".But this just removed the tables in which the pictures were displayed.How to display images one below the another,& how to obtain the Picture ID (pid) of the image, so that it can be used to query the database & display information next to the image.

Please help