image

Latest images uploaded coding problem

Hey, anyone could help me understand the following asp.net 2.0 coding? It is supposed to show me a couple of the latest photos i uploaded to a particular folder in the photoalbum. however when i upload a new file in an folder which already has images... the images that show up when using the code is the first images in this folder... an...

Use Google Maps Bubble as a Custom Tooltip Background

I want to use the Google Maps "bubble" in my web site. It pops up when you click on a pin... Has anybody done this? I can't even find the required image(s) using Firebug. If I can just find the image(s) that powers this bubble, I can handle the rest! ...

How do I save a plotted image and maintain the original image size in MATLAB?

I'd like to show an image and plot something on it and then save it as an image with the same size as the original one. My MATLAB code is: figH = figure('visible','off'); imshow(I); hold on; % plot something saveas(figH,'1','jpg'); close(figH); But the resulting image "1.jpg" has saved non-image areas in the plot as well as the image....

GridView ImageField With Text

Hello, I have an ASP.Net GridView and I want to include an Image and a Text in the same field, something like this: <a id="lnkForJQueryCall"><img src="whatever.png"> Some Other Number</a> I have found the asp:ImageField does not have a Property for adding a text at right or left of the image, and there are no much options, is there an...

How to save a GIF on the iPhone?

Hi, how can I save a GIF on the iPhone? The SDK includes only UIImageJPEGRepresentation and UIImagePNGRepresentation but nothing for GIFs or other image formats, is there a way to convert a UIImage to a GIF and save it? GM ...

resize required to view images in java applet

Hello all, I'm working with java images for the first time and having a problem viewing them when the applet loads. If I resize the window they display fine. I feel like this is a common first-timer error. Has anyone else encountered this? Any idea what the fix could be? What I believe to be the pertinent parts of the code are listed...

How to embed images in html email

Hello friends, I'm totally new guy in web development. Now I'm trying to implement a code to send html email with embeded image. I already tried for simple html email with image but this image is taken from server. I don't have fluent english, but I think you understand what I meant to say. Thanks in advance ...

Output an Image in PHP

I have an image $file (eg. ../image.jpg) which has a mime type $type How can I output it to the browser? ...

Mouse click location on an image

I have a GWT container with some stuff in it and an image which is added a clickhandler. What I try to do is to get the exact mouse event's X and Y coordinates relative to the image. I saw the post here but this is not what I want. As far as I can see, I have option like getting the image absolute location and event location but this ...

what is the idea behind scaling an image using lanczos?

Hi, I'm interested in image scaling algorithms and have implemented the bilinear and bicubic methods. However, I have heard of the lanczos and other more sophisticated methods for even higher quality image scaling and I am very curious how they work. Could someone here explain the basic idea behind scaling an image using lanczos (both...

jquery image not loading problem

Hello, does anybody knows how to check if an image loads properly. I have a script that preloads images and what I wanted to do is if the image doesn't exists, which causes my script not to end, I would just make the attribute "src" to be a default value image.load(function(){ //it never reache here if the image doesn't exist }).attr('...

jQuery picture load

Hi everyone, I need some help in jQuery. What I want to do is to create some kind of a small, very, very easy picture gallery. I want to have a couple of small pictures on the left-hand-side of my page. By clicking one of these small pictures I'd like to load this picture into another div where it is shown in full size. <a href="ima...

Default (fallback) Image with .htaccess?

I'm curious if it's possible to use .htaccess to serve up a default image when a particular image is requested that doesn't exist (note: only image-requests should raise this behavior). I know I could do this with PHP by serving the images through a script, but I'm more curious if this can be done with .htaccess instead. Suppose I reque...

Image not displaying in simple applet

Hello all, I'm working with java images for the first time and having a problem viewing them when the applet loads. The code I've posted below is a dramatically pared-down version of the code I'm actually working with, hopefully figuring out why I can't see an image with this code will show me while I have to resize the window to see ima...

jquery hover image fade swap

I have been searching online for awhile, trying to find the best way to write a jquery script that does this simple task: swapping an image on hover with an elegant fade effect. I have found many solutions (some way to cumbersome and clunky), and narrowed it down to what I see as the two best: http://designwoop.com/2009/08/image-hover-e...

Basic image rotation with jQuery

I'd like to test banner (two css background images) and rotate them randomly on each page reload. Is it possible to achieve something like that without using any plugins? I just need to rotate two images, which is basically just swapping css classes randomly on the banner element, on each reload. Many thanks. ...

Image preview in Flex

Hi, I am working on an image management application. We have an Adobe AIR client talking to a WAMP server. The MySQL DB stores the images as blobs. We have an image search feature. Upon searching, I am displaying the results as XMLList in a popup window and provided a download button. Downloads work fine. I also want to add a preview but...

How can I draw a circle on an image in MATLAB?

I have an image in MATLAB: im = rgb2gray(imread('some_image.jpg'); % normalize the image to be between 0 and 1 im = im/max(max(im)); And I've done some processing that resulted in a number of points that I want to highlight: points = some_processing(im); Where points is a matrix the same size as im with ones in the interesting poin...

Firefox + long thumbnail list => img rendering issue

Hi, been searching a while to no avail. I have a photo gallery page with a flash slideshow player (imagerotator). Underneath I am showing thumbnails of all gallery images in one line w/horizontal scrolling. Now when that list gets long, all thumbs after an arbitrary number (somewhere between 50 and 80) are rendered plain white upon fi...

C# Resized images have black borders.

I have a problem with image scaling in .NET. I use the standard Graphics type to resize images like in this example: public static Image Scale(Image sourceImage, int destWidth, int destHeight) { Bitmap toReturn = new Bitmap(sourceImage, destWidth, destHeight); toReturn.SetResolution(sourceImage.HorizontalResolution, sou...