Web Forms :: Generating Thumbnail On The Fly?

Dec 22, 2010

I know that this issue has been raised on so many occasion and I am stuck with two options, one being to create a thumbnail folder whenever a picture is uploaded to the server, here I am using a folder with so many subfolder, upon saving on the server folder, I pass in the subfolder name and the file name, to retrieve the image i need the two parameters but also the resize sizes and as such this measure is almost abosulte.

the other way is to resize on the fly when the user is requesting the picture, this is where I have been stuck on and need some guidance. and here is the code

[Code]....

View 2 Replies


Similar Messages:

AJAX :: ModalPopupExtender With Thumbnail / Thumbnail Can Not See The Full Size Image?

May 21, 2010

I have a ModalPopupExtender control inside accordin control, users can add images, that I sotre the path in database(sql server) and the actual image in physical address inside web server,I automatically resize the image to thumbnail size in C#, when users first connect to the site,the see the thubmnail version of the image,which is much faster to download,and by clicking the thubnail, the hidden asp:pnael is shown with imzge in full size, I use javascript to unhide the panel and also change the image source to actual image,everything works fine in IE, but in Firefox and Chrome, the first time user clicks on thumbnail can not see the full size image,only after couple of time, they see the full size image? what could be the problem?

I am using asp.net ,C# what is the best way to achieve this?

View 3 Replies

Web Forms :: Get Thumbnail From Video File

Jan 7, 2010

i need to get thumbnail from video files using C#.

View 1 Replies

Web Forms :: Image Thumbnail Does Not Display

Mar 4, 2011

I have an Image control on my page that should display a thumbnail preview of the actual image. The URL property of this control is assigned through the code-behind using:

imgHolder.URL = @table.Row[0].ItemArray[0].ToString();

Before moving my files to another location, this assignment works fine (The files used to be located inside the application folder). But after moving all files to another drive in the same server, the images don't seem to render any longer. I can upload/download files fine but they just won't display as thumbnails on the page.

View 7 Replies

Web Forms :: HTML To Image Thumbnail?

Apr 16, 2010

Does anyone know a free way of doing this in asp.net?

View 4 Replies

Web Forms :: Can Implement Thumbnail Like Facebook

Aug 25, 2010

how i can implement thumbnail like facebook?

chose a part of image and show it in profile?

View 3 Replies

Web Forms :: How To Generate A Thumbnail Using Webbrowser

Aug 4, 2010

How can i generate a thumbnail in asp.net using webbrowser?

We are using website thumbnails/screenshots as an asset like MarketingAssetExchange.

View 1 Replies

Web Forms :: Thumbnail Created With Samename?

Aug 2, 2010

i am uploading images in database and creating thumbnails too. but thumbnails has been storing as same name, i cant understand where is the problem, May you pls help me about this, my thumbnail creation code is

protected void Button1_Click(object sender, EventArgs e)
{
try

[code]...

View 1 Replies

Web Forms :: Click Thumbnail To Enlarge?

Oct 27, 2010

I've got a series of thumbnail images in a GridView control as well as a Template field for a larger version of the image when the thumbnail is clicked.I'd like to be able to click a thumbnail and update the larger image in the gridview with the appropriate new image.What would be the best (easiest for a newb!) way to do this?I'd like to avoid a whole page refresh and keep it to just the image.

View 4 Replies

Web Forms :: How To Capture Thumbnail From FLV Video

Sep 15, 2012

I am creating a website similar to youtube, so after uploading videos (that will be in .flv format), a thumbnail has to be captured from that corresponding video.. here i am designing my page using asp.net & c#...

I have got  some code from the net, but its working only videos of size 2-3Mb.... how to get my code to work my code for large sized files..

here's my code..

my code in default page(default.aspx.cs)..
its in page load method....

protected void Page_Load(object sender, EventArgs e) {
Class1.GrabSingle_Thumb();
}

code of my class file(class1.cs)...

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;

[CODE].... 

I have got these code from [URL]...

I have two more links, which may be useful, but as a starter in .net, I am not that capable of understanding that code in the page...

[URL]...

[URL]...

View 1 Replies

Web Forms :: Display Images In Thumbnail Format?

Mar 31, 2010

A user will upload the images through FTP in the images folder. So my requirement is when he clicks on the link say for eg [URL] all the images should be displayed in the thumbnail format. What I did is I opened the IIS and over there I selected the directory listing. So when I click on the link [URL] it shows the list of images. But I want this in the thumbnail format.

View 1 Replies

Web Forms :: Display Image Thumbnail In DataList

Jun 3, 2012

This is code that reduce our image size in page

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:Image ID="Image1" runat="server" ImageUrl = "~/Jellyfish.jpg" Height = "400px" Width = "400px"/>

[Code] ....

I want use it in Data List ... In my datalist i have 3 image that i bind from DB i want reduce this image size how i can do it with this code?

View 1 Replies

Web Forms :: Generate And Display Thumbnail Of Image?

Apr 1, 2012

I have image in my webpage that it has this property  width=250px hight:200 and image size :200KB

i want when i put this image in my page with this Property width:100px and hight:100px    image size Automatically change EX:100KB how i can do it ?

View 1 Replies

Web Forms :: How To Generate Thumbnail Of Website's Home Page

Feb 12, 2011

how could i dynamically generate few thumbnail of my site's home page and shows them in another page.

View 1 Replies

Web Forms :: Show Thumbnail Of Uploaded Media Files?

Aug 30, 2010

Showing thumbnail of uploaded media files (pictures, videos etc..) I tried to extract thumbnails from thumbnails.db using Microsoft Shell Controls And Automation (Interop.Shell32.dll). I followed [URL] PROBLEM: I tried it in WPF application and it worked. Then i used the same code in ASP.NET WebForms website and it works for pictures but doest not work for videos. I also tried the same in clean console application but it doesn't work as well. But in wpf it works! the same assembly. Assembly is from Window 7, but neither WinXp's Interop.Shell32.dll works for videos in websites. It throws an exception NotImplementedException whenn I call IExtractImage.Extract(ref IntPtr phBmpThumbnail); Can you explain this behaviour? [URL]

View 1 Replies

Web Forms :: Generate True Thumbnail On Hyperlink Onmouseover?

Jul 16, 2010

I have this question posted on Expert Exchange here is a link to that:

[URL]

But here it is in a nut shell.

I have a hyperlinks residing in a gridview some links are to files others to images. That gridview is set in a repeater.

What I'm looking to achieve is when the mouse hovers over a hyperlink that point to a jpeg, jpg or gif I would like to generate a thumbnail to show the user. when mouse leaves the hyperlink get rid of thumbnail.

I stared here:

[URL]

I'm trying to use the onmouseover and the handler found above but no luck.

View 5 Replies

Web Forms :: How To Get Thumbnail Image From Embedded Videos Other Than Youtube

May 2, 2010

I want to get thumbnail image from embedded videos of myspace, break.com, flickr.com etc using C#.net

View 4 Replies

Forms Data Controls :: Thumbnail Viewer/Resizer

Apr 19, 2010

I have a large image....lots of them actually, I need to have shown as thumbnails while still allowing for full size viewing. I was planning on using:

http://nathanaeljones.com/products/asp-net-image-resizer/ to handle this for me, but I need something that also allows you to click on the image to view the original full size version in a jQuery style popup.

View 2 Replies

Web Forms :: Upload Image Directly Or Make Thumbnail?

Jun 2, 2010

I have a requirement where i need to upload image files and display them as thumbnails on webpage. when clicked on thumbnial image the orginal uploaded image must display.iam in great confusion whether to make thumbnails dinamically on the fly when retrieving the orginal image or make thumbnails and save them to saperatefolder when uploading and save orginal image to another folder.

View 5 Replies

Web Forms :: Generate Thumbnail Of Image And Save It In Folder

May 7, 2015

I used below code for uploading image and show in image control with thumpnail metod for reducing image size:

protected void BtnUpload_Click(object sender, EventArgs e)
{
string path = Server.MapPath(".") + "../image/House/product";
string filename = System.IO.Path.GetFileName(fup1.PostedFile.FileName);
string[] validext = { ".jpg", ".png" };
string ext = System.IO.Path.GetExtension(fup1.PostedFile.FileName);
if (Array.IndexOf(validext, ext.ToLower()) < 0)

[Code]...

It save original image in host, now I want it save image that reduce size with GetThumpnail metod in other place How I can do it?

View 1 Replies

Web Forms :: Create Thumbnail Of Uploaded Image Or Picture

Nov 27, 2012

I am using a fileupload tool and an asp button. I want to upload image using fileupload, save it in a folder named images in my website and create its thumbnail view on the same page using VB.

View 1 Replies

Forms Data Controls :: Onclick Event - No Popup On Thumbnail

Jan 23, 2010

For an image gallery page I am trying to bind data to an image control. Here is the control within the listview control:

[Code]....
[Code]....

Radopen is a function from [URL] and works fine. I can also display thumbnail images fine too. However, when I click on a thumbnail I get no popup, nothing. When I replace
[Code]....
with
[Code]....
It works too. For some reason I cant bind data though.

View 16 Replies

Forms Data Controls :: Trying To Make A Gridview Column A Thumbnail

Jan 22, 2010

I can get the file(image) to display, but it displays at a size that is too large for my use. Basically, right now, I'm pointing the ImageField to the first field in the grid that contains the url of the image. I could require the user to create a smaller image of the file but that seems a little excessive. Is there any way to control the size of the column displaying the image? Here is the html, we are using LINQ to get the data that is displayed in the grid.

[Code]....

View 4 Replies

Web Forms :: Change Directory View (filmstrip Or Thumbnail) From Code Behind

Jan 7, 2010

how to change the directory view to filmstrip or thumbnail for the specified path from code behind. wheather this is possible in C#?

View 1 Replies

Forms Data Controls :: If No Image Then Display A Default Thumbnail?

Apr 9, 2010

I've got:

<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "PropertyDetails.aspx?propertyId=" & Eval("propertyId").tostring %>'><asp:Literal ID="Image1" runat="server" Text='<%# Eval("imageId", "<img src=""images/properties/{0}_thumb") %>' /><asp:Literal ID="Image2" runat="server" Text='<%# Eval("imageFormat", "{0}"" alt="""">") %>' /></asp:hyperlink>

which displays an image from my db.

However, if there is not an image - e.g. if my property record doesn't have any images associated with it, I would like to display a default thumbnail.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved