When to use tables

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

I'm making a web page that is like a photography photo gallery and I'm wondering whats the best way to display images in a 4x5 manner. Would this be a place I could use tables, or is there a better way?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

Hi Spoof,


You could use CSS, Floats, Html or even a Flash album or Lightroom from Adobe.

You could also use a Dreamweaver templete for images.

HTH
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

I dropped some nice gallery code on this thread: http://www.ozzu.com/post498882.html?sid=3fd9d8a5668499280cfb70524e5f12f6&sid=02ba830b3bc66c005f230cdc58727d16#p498882

If you mess around with the styling you can make it look very, very nice.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

I see nothing wrong with using a table for what you described.
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

I agree with spork. It actually makes a lot of sense to use tables for your purpose.
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

I am going to third that ...
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Posts: 2297
  • Loc: UK - England

Post 3+ Months Ago

Id use tables, makes sense, you are displaying tabular data ;)
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

Isn't a gallery just a list of images? That being the case I'd go for a list.

In the end, it matters not. Both can do the job and in the final analysis user will not care or even comprehend the difference. However, if you don your semamtic-shmematic cap for a brief moment then it becomes apparent that the list is the "correct" option.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

I disagree. He's looking to display a grid of data, not a single-dimensional list. Tables were intended for exactly that purpose.
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

I think you are stretching the definitions of "data" and "tabular data" just a little bit. To my mind, a gallery of thumbnails is not data and is definately not tabular data. A grid of data speaks to me of spreadsheet-type stuff - an ideal, and correct, use of tables.

Lists don't have to be one-dimensional. A gallery of images with links and captions (although layed out in a grid) is not grid-like data but is grid-like only by its styling convention. A small gallery may consist of a single row of 6 images for example, a larger one of many such rows- they just wrap creating a grid-like appearance (which doesn't imply it should be dropped into a table).
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

I'm not stretching any definitions here. People shy away from tables because they get a bad rap in light of fact that people incorrectly use them to lay out entire pages. This doesn't mean they should be confined to use in only the absolute most datagrid-like situations.

For what Spoof is doing, either would work. I completely agree with where you're coming from. It's just that a lot of people like to shy away and hide in the corner at the first mention of the word "tables", and I'm trying to prevent that. ;)
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Well I ended up using a list because it will allow the gallery to be dynamic in nature, so if there is a row of small images, instead of only having 4 on that row it will fill it to the end.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

Makes sense. :thumbsup:
  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

Something like this?

Divs and CSS:

http://missbgraphics.com/gallery/index2.htm

And lIghtbox2 which is close cousin to Adobe Lightroom..and free.

:mrgreen: :mrgreen: :mrgreen:

Post Information

  • Total Posts in this topic: 14 posts
  • Users browsing this forum: No registered users and 89 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.