Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Post by dejavue8 » Mon, 21 May 2007 16:28:19


How would one best accomplish this in ASP.NET 2.0? I always thought
that a table would be best suited for this, however, these seem to be
SEO problems with this approach. Should I use CSS? And if so, how
would this work?

Thank you!
 
 
 

Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Post by Eliyahu Go » Mon, 21 May 2007 16:45:10

What's the problem?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://www.yqcomputer.com/
http://www.yqcomputer.com/

 
 
 

Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Post by Mark Ra » Mon, 21 May 2007 18:28:40


Which are...?


--
http://www.yqcomputer.com/
 
 
 

Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Post by dejavue8 » Tue, 22 May 2007 00:18:43

It said what the problem is: SEO
Tables don't play well with search engine spiders.

Considering this, I was just wondering how most of you would approad
this problem, thats all.
 
 
 

Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Post by Bjorn Sagb » Tue, 22 May 2007 01:12:18

I have no idea what professionals would do, and I have no idea about your
problem, but here is what I would do to show a 5 x 5 grid of images:

I would use a repeater control with a table of 5 colums, the rows taking
care of itself. The I would build a class to take care of the images (either
straight image path or retrieved from a database). So just loop through your
data and populate the class, set the repeater datasource and databind ->
then you should see a nice grid of images.

I am still kind of unskilled, so this may be a silly way. But nevertheless;
I know this would work.

Bjorn
 
 
 

Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

Post by dejavue8 » Wed, 23 May 2007 03:00:20

Hi Bjorn,

Indeed, this would be one way to do it. However, I ended up keeping
the design simple and used a simple Table object, and used the modulus
operator to create a new row for every multiple of 5.

Regards,

Jim Light