Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Displaying thumbnails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shelly - 10 Sep 2007 17:59 GMT
I have progressed in my learning experience to where I have uploaded [.jpg]
files to a particular directory.  I now want to display those images as
thumbnails of 170px by 170px with up to four in a row with a 170px wide
textbox under each image.  If there are six images, then there would be two
rows.  The first would have four and the second would have two.

I can easily do this if I know beforehand how many total images there will
always be, and then program the display statically for that number.
However, I would like the display aspect to be dynamic with respect to the
total number of images.  (I can get that from a count in the directory).

So, how do I get started in this process?

--
Shelly
Eliyahu Goldin - 10 Sep 2007 18:24 GMT
Look at the DataList class. It allows databinding with placing several items
in a row. And you can make an itemtemplate with an image and a textbox.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

>I have progressed in my learning experience to where I have uploaded [.jpg]
>files to a particular directory.  I now want to display those images as
[quoted text clipped - 11 lines]
> --
> Shelly
Shelly - 10 Sep 2007 18:47 GMT
> Look at the DataList class. It allows databinding with placing several
> items in a row. And you can make an itemtemplate with an image and a
> textbox.

Thanks.  I'll start there.

Signature

Shelly

>>I have progressed in my learning experience to where I have uploaded
>>[.jpg] files to a particular directory.  I now want to display those
[quoted text clipped - 13 lines]
>> --
>> Shelly

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.