image

WPF ListView show Image

Hi, I have a simple class that contains a string and an WPF Image control: public class User { public string Name { get; set; } public System.Windows.Controls.Image Image { get; set; } } Now I'm binding a list of instances of this class to a ListView. What I would like to do now is make ListView display the Image property. ...

I want to load different images to a div, from links

Hiya, very very new to jQuery and surviving on your wonderful tutorials. I'm working on my portfolio website, and have a list of projects that uses jQuery's load function to load descriptions of each project into a separate div when clicked. Within each description is a set of numeric links, say 1-5, which I want to display relevant ima...

jQuery background-image animation

Hi, How do I animate between two PNG images in jQuery? Is this possible? Something like the CSS 3 transition when you transit between one color to another, but I need an image to an image transition. ...

jQuery: FadeIn image after it is loaded

Hi, I'm trying to make image being loaded into div with fadeIn effect. Problem is that I don't know how to avoid loading and fading at the same time. I want image to be loaded and after it is completely loaded it should be faded in. http://www.izrada-weba.com/vedranmarketic These are image thumbs: <div id="thumbs"> <a ...

i cant use imagecopyresized

I have a problem with the GD functions. When I upload an image on localhost, everything works fine, and a thumbnail is created, but when I upload my website on hosting then imagecopyresized just fails. When I insert in a blank page, that function (whole resize function) it works just fine. What could be the problem? Update: Actually ...

How do i create a 404 image? for images that cannot be read by ASP.NET

Using ASP.NET C#, visual studios to host the files/pages. I allow users to upload images and i redirect them to the media page. The images are in a specific path easily recognizable with regex. When i redirect i get 1 of 2 errors. 1) Image doesnt exist (hasnt been generated) or 2) Cannot open file (imagemagik or something writing to the ...

Can json Datasource hold/contain an Image?

Hai guys, I have list of images(not image paths) retrieved from sql server database... I am converting that datatable to json... My question Can json Datasource hold/contain an Image? If so how to do it... Any suggestion.. ...

Android: how to change a low quality image to the hi quality one when the animation stops in gallery?

I want to do an image gallery like in iphone. I want to show low quality (pre-resized) images and when the image is active I want to process the big image and show the result in the gallery. I have two questions. How to attach a listener on the animation stop in gallery? And how to access an image after this action? ...

Javascript timelapse-effect: displaying 30 images/second (read for more detail)

Hello! I have a client who has made a 'Visual Diary' of photographs that he took once a day for 365 days, for his portfolio site. He wants me to put these together into a time-lapse effect piece. I thought about using Flash but in the end opted for JavaScript. What needs to happen is this: The images cycle really really quickly with no...

Some images only showing alt text in Firefox but load fine in Safari or Chrome yet other images on the same page load fine

I'm making a simple website for myself using wordpress and some hacking to try and teach myself a little about web coding for fun. I've set up my website and http://jonhocking.co.uk and I'm using a series of 4 squares on the front page to navigate around the site. Three of these link to categories and these images display perfectly fine....

Duplicating an imported graphic in Flash

I'm loading a graphic via the Loader Class. Now I need to use it both as the original image and a thumbnail of that image. Alas, there is no "duplicateMovieClip" or anything like that in AS3 If I addChild it to the normal view and then to the thumbnail only the thumbnail is shown and vice versa. I google for this and found several solu...

Java Advanced Imaging - Layer Mask

I'm working on a project which deals with image processing and I don't have a great deal of know-how about image processing in JAVA. I've recently started using "Java Advanced Imaging" for manipulating images. I'm facing problem in applying "layer mask" to images. I have to use a "layer mask" in my application much like the layer masks...

Convert image data to character array

I'm building a mobile advertising sdk for the iPhone and I assume that the only way to store the images that will represent the button icons for the landing page controller [in the library] is to convert the images into character arrays. When I have the character array defined inline like: const char backButtonData[] = { 0x00, 0x01, 0x...

How does Flickr prevent people from downloading images from the site?

Just wondering how does Flickr prevent people from downloading images from its site? What are they using? ...

I think i have a vector image format, how do use it to draw an image in php?

I have found an image format that is being used by some applets. but i don't know what it is. I think it is some kind of vector graphics format that is used by the GD library. could someone help me decode it? I would like to use the raw data to produce a png, in php the data is being generated from squiggles drawn by the mouse. Is t...

How to crop image in Image_Canvas PHP PEAR package

I can't get it to work it just does nothing. I'm using Image_Canvas PEAR package on shared hosting it works but I can't crop image. My syntax is: $Canvas->setClipping(array('x0' => 10, 'y0' => 10, 'x1' => 200, 'y1' => 200)); Any ideas? ...

Problem wiht wrong file format (gif insted of jpg) when saving images from server - PHP

I am using this peace of PHP code to save and rename some images. foreach ($phones as &$value) { $link_img = $handle = @fopen($link_img, "r"); if ($handle) { while (!feof($handle)) { $buffer .= fgets($handle, 4096); } fclose($handle); $filename = "files/nokia_".$pho...

How does Auto-Adjust in Images work ?

How does Auto-Adjust in Images work ? example : ...

How do I fix "java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Native Method)"?

I'm making a Java application that uses the Slick library to load images. However, on some computers, I get this error when trying to run the program: Exception in thread "main" java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Native Method) at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:99) at java...

accepting user uploads best practices!

Hi, Im trying to add a multi page form, in php with zend framework, where users can list an item to my site. On the first page they enter details about the item(which is then stored in session), page two they can upload images, and then page three they can confirm the listing. If they confirm then the listing is added. What is the best...