PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

formatting results of block images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • formatting results of block images

    I get uneven formatting due to sizes of found images.
    Could I place each image in a set sized box so as to
    preserve a nice even formatted page.
    Last edited by trew; Jul-15-2009, 07:54 AM.

  • #2
    You can force the image size by setting width and/or height attributes to the .result_image class in the CSS. For example,

    .result_image img { width: 100px; height: 100px; }

    The above will make all images displayed in the search results to be 100x100.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      Another solution would be to make all the thumbs the same size (e.g. pad them out white pixels if required, to make their native resolution 100x100).

      Failing that you could start customising the script, to output the results in a true HTML table.

      Comment

      Working...
      X