473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

GridView and Thumbnails

In a VWD project I have a folder that contains images that users have
uploaded. On the aspx page I have a GridView that displays information from
a table in a database. The table contains the paths and filenames of each
of the images. I would like to add a column to the GridView to display
thumbnails of the images to help the user select the appropriate image.

My question: Should I generate a thumbnail of each image as it is uploaded,
save the thumbnail to the image folder, add the thumbnail path and filename
to the record in the database, then bind to the thumbnail information to
display the thumbnail in the GridView, or is there a better way ?

Thanks in advance for your help.

Jim
Nov 2 '07 #1
1 2467
On Nov 3, 2:02 am, "Jim McGivney" <mcg...@no-spam.sbcglobal.net>
wrote:
In a VWD project I have a folder that contains images that users have
uploaded. On the aspx page I have a GridView that displays information from
a table in a database. The table contains the paths and filenames of each
of the images. I would like to add a column to the GridView to display
thumbnails of the images to help the user select the appropriate image.

My question: Should I generate a thumbnail of each image as it is uploaded,
save the thumbnail to the image folder, add the thumbnail path and filename
to the record in the database, then bind to the thumbnail information to
display the thumbnail in the GridView, or is there a better way ?

Thanks in advance for your help.

Jim
HI...
It depends on the size of the images....
If all images are huge ... it will take time for browser to download
images...
in that case it better to save a thumbnail version of the image...

Thanks
Masudur

Nov 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ken | last post by:
I am in the process of designing my first web-site, and am having a problem with my picture gallery. My thumbnails are all different sizes, I would like them to be one size. The manual does not...
3
by: Vagabond Software | last post by:
I'm trying to display thumbnail images in a Listview that look more like the Windows thumbnail view. Everything is working pretty good, but my thumbnails are decidedly not like the Windows...
6
by: Rich | last post by:
Hello, I want to simulate the dynamic thumbnail display of Windows Explorer (winxp) on a form or pannel container. If I place a picture box on my container form/pannel and dimension it to the...
0
by: C. David Johnson | last post by:
Ok I am working on the simplest thing ever that is turning in to the biggest train wreck ever. I have a database with a series of photo albums and the image path & name for each image. I pass...
1
by: VMI | last post by:
I'm working on an ecommerce-type we app, and I would like to save/retrieve image information into my sql server DB. If I save the file path in my table, how can I use that info to display the...
1
by: Samuel Shulman | last post by:
Hi Is it possible to present item in the GridView in Thumbnails Mode so more then one item can fit in one row Thank you, Samuel
5
by: JJ | last post by:
I have a gallery-like application. (The gallery will be actually presented in Flash, but the management (cms) of the images will be in asp.net. ) My question is, is it ok to create Thumbnail...
8
by: =?Utf-8?B?THVpZ2k=?= | last post by:
Hi all, anyone knows if is it possible to insert (and obviously save) a Windows print screen in a GridView cell? (ASP.NET 2.0). Thanks in advance. -- Luigi
0
by: =?Utf-8?B?TWF0dA==?= | last post by:
Hello all i need some help, What i want to do is to create a browser based app that can display various thumbnails of large images stored in an sql db. The user can then click the thumbnail to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.