How to display an image in Silverlight?
This should be simple, but... I created a folder in my solution called Images. I dragged an image into it. How do I now display this image on a Page or View? ...
This should be simple, but... I created a folder in my solution called Images. I dragged an image into it. How do I now display this image on a Page or View? ...
Hi, i'm trying to emulate how image is being dragged inside the windows photo viewer when it is large. The problem is, i don't how to drag the image while keeping it intact in the form's edges. If you're observing windows photo viewer, when you drag the image downward for instance the image moves and stops when the top end of the image i...
I have a bunch of images on a server. When client requests url for image, the client can specify to either receive the full image or get a thumbnail of the image. So, I'm looking to implement a servlet type solution that processes request, and generates thumbnail on demand if needed. It needs to support jpg, gif, tif, png. It looks like...
Reader's digest version: What is the most efficient way of requesting an image from a server and placing it into the DOM using AJAX (or AJAI, perhaps? : ) )? Here's the long version: Hello SO, I'm setting up a simple page that has a list of items, and when you click on one, it does the following: Clear the modal dialog on the page (wh...
I'm using the jquery.cjobjectScaler plugin (link text ) and due to circumstances beyond my control, the img is hyperlinked within the div... I don't have any way to "strip out" that tag, nor can I reorder it at all... So, the original function is this: $("#productGrid li img").cjObjectScaler({ destObj: $("#productGrid li img")....
I am a newbie and i would like to give artistic effects to the images such as photocopy , blur ,glow edge, mosaic bubble ,pencil sketch ,marker , glass effect,paint brush,glow diffused effect programatically? I want to implement it and any input is appreciated. The following link depicts what i want to do exactly... http://picasaweb.go...
I want to show preview of an image before it is uploaded. I have found a partial solution that works for ie6 and firefox, and havent yet tested it in ie7 or ie8. But i want a solution that works in safari, ie7 and ie8 as well. Here is the solution obtained by combining the ie6 and firefox solution: function preview(what) { if(jQuery.bro...
HI, I'm sure I'm missing something very obvious here so please forgive me. I'm using MVC 2 Beta and I have a model that has several properties, strings, ints etc. the usual stuff. It also has a byte array that contains an image. I have an edit action method on my controller decorated with a [HTTPGet] attribute. The method passes the m...
Hi All, i posted a question regarding croping an image present in a parent image. http://stackoverflow.com/questions/1889306/how-can-i-crop-image-using-c I've detected the Image edge using one of the online algorithms, now i need to get the coordinates of the corners. How can i get the corner coordinates so i can fetch the image from i...
Hi All, For the last few weeks I've been tearing my hair out trying to get a tiling mechanism working on an iPhone. I need to scale and crop images of about 150mb so that they can be saved as tiles that will be requested by a scroll view, allowing the user to see the image in high resolution. The problem is that these images are really...
I need to make this image stretch to the maximum size possible without overflowing it's <div> or skewing the image. I can't predict the aspect-ratio of the image, so there's no way to know whether to use: <img src="url" style="width: 100%;"> vs <img src="url" style="height: 100%;"> I can't use both (i.e. style="width: 100%; height: 1...
is there any lightweight command line batch image cropping tool(Linux or Windows) which can handle a variety of the formats ? ...
I'm dynamically switching background images. Naturally, they need to be preloaded to display promptly. I am preloading them, am able to following in FireBug as the images load. When the background image switches, I see the images download again in FireBug. Here's my url: http://www.morganpackard.com/siteRoot/ Strangely, if I reload th...
how to use sprite with image links. when i try to use as below link lost <a target="_blank" rel="nofollow" title="link1" href="http://www.yahoo.com"> <div id="yahoo1" class="logosprite"></div> </a> css: #yahoo1.logosprite { background-position:0 0; height:16px; width:16px; } can anyone suggest better solution ? ...
I have a c#-class that looks roughly like this: class ImageContainer { Image image; internal ImageContainer getResized(int width, int height) { Bitmap bmp = new Bitmap(width, height); //Create a System.Drawing.Graphics object from the Bitmap which we will use to draw the high quality scaled image System.Drawing.Graphics...
I'm looking to replace an image background on a banner above my navigation bar with a specific image for each menu item when the user rolls over the menu text. I want it so that each menu item causes the banner to swap the background for an image related to the text of each menu item, and only use CSS.. not javascript. This seems like ...
For a network experiment I am conducting, I require image files of arbitrary size. I am lost on how to create such files. I require 5MB, 10MB and 20MB files in JPEG, PNG and PDF format. In my first attempt at generating these files it became clear that due to the compression schemes of these formats, it's not possible (or at least I ...
Hey all, my first post :D Problem: I'm trying to make a template gallery, not a slide show, which i can easily reuse on multiple sites. Mostly for quick folio sites, where the owner wont know how to update the code to add pictures. It needs to read all of the image files from a selected directory. (jpg, gif, png, bmp) It needs to be a...
i dont see anything in the documentation but i am trying to convert over code that is rendered in an html table over to jquery grid but the one missing piece is that many of the columns have images in them or other specialized html that i would like to show in the grid ...
I'm looking for some free-to-use-for-any-purpose (public domain, BSD-license, etc.) playing card images for use in games. I found a pretty nice collection at http://www.jfitz.com/cards/, but was wondering what other nice collections might be available. I have Googled for "playing card images" and similar terms, and most of the returned...