image

Itemtemplate to view Picture in Asp Datagrid (in code)

I´m writing on a webpart for sharepoint, so I have to generate a Datagrid problematically. The Situation is that I get a Dataview, generate the Gris and bind the Data. One column should show a Image, so I have to generate a template column with item template. So code looks like this: //Instantiate the DataGrid, and set the DataSource ...

Problem with ChoiceGroup, strings don't fit in screen

Hi guys! I'm developing a J2ME application, and I need to show a .png picture, then right beneath it, a list of strings from which the user can select one. Since you can't append an image to a List, I tried using a Form, appending an ImageItem to it, then appending an ChoiceGroup with the options. This works very well on the Sun WTK emu...

Java Bing Image Search

Hi All, I have a small application in java which searches images using bing image search. The problem I am facing is that, its getting only first 20 images. May be because when we search on bing.com it populates first 20 images first and then its an infinite scrolling feature. Is there any way to search more than 20 images using bing?...

Can I set a users profile image using the Facebook API?

I'm looking for a user.setImage call or something to that effect on the Facebook API but I can't see anything to achieve this: specifically to overwrite a user's profile image (not just post an image on their wall). I can't see anything in the docs. Do you know if this is possible and if so any docs on implementating it? Thanks, Jame...

Crop image in flex using a non-rectangular shape

Hi I've been following this tutorial to crop images in flex: http://code.mediablur.com/ImageCropper/ImageCropperDemo.html. At the heart of its cropping is using a method called "copyPixels". However, this method takes as one of its arguments a rectangular shape for its crop region. Are there other strategies I can use to crop it not u...

Load Dicom image and display it - using ClearCanvas library

This is a very narrow and specific question, but I know there are someone else out there using this, so I'll keep my fingers crossed and hope anyone of you pics this question up. I'm working on a WPF application where one part of it is a Dicom viewer. We'd like to use a 3rd party component to handle the Dicom stuff, and ClearCanvas is ...

codeigniter image uploading mysql

hi, I wanted to know if I was uploading an image in codeigniter to a database what would be my $config['upload_path'] all the examples I have seen are using the filesystem. I have articles in a db and would like to store images relating to articles in the db as well. Can anyone help? ...

How to display CSS backgroundImage when the source redirects?

I'm attempting to dynamically set the backgroundImage for a div where the image source url is not the true/final destination url but instead returns a 301 redirect pointing to the actual image url. Using this redirecting url in a standard < img src=" ... tag works normally as the browser transparently follows the redirect. However, it ap...

Loading an image from memory, GDI+

Here's a quick and easy question: using GDI+ from C++, how would I load an image from pixel data in memory? ...

Placing an image inside of a text field with HTML/CSS/JS?

Is there any way to place an image inside of a text field with HTML/CSS/JS, not using the image as a background? The image needs to be clickable and positioned on the right of the field, too. Thanks. ...

What's the all fit header to show images?

header("Content-type: image/gif"); readfile($filename); The above can only be used to show gif images. Is there a header that can be used to show jpg/png/gif? ...

With PHP/GD, how do I trim an image?

I want to mimic the trim behavior of Photoshop (crop the area that is covered by the same color on all sides) with GD and PHP but I'm lacking ideas on how to accomplish this. If someone has any idea on how to do this I would very much like to hear it. Thanks in advance. ...

Where to save HTML and Images?

I have a project where a user for the company will use a winform HTML editor to put some text and pictures in for specific customers. The customers will be looking at this information on a website. What's the best way to handle this? If it was strictly HTML text then I could save everything in the database and not have any problems disp...

YUI Editor - Image Upload

Is there a plugin to upload images via the Images window, that will work with YUI 2.8.0r4 ? There is one but that only works with 2.3.1 :( Any ideas? ...

Default Image Style

It was my understanding that this: <Style TargetType="{x:Type Image}"> <Setter Property="Margin" Value="0"/> <Setter Property="Stretch" Value="None"/> <Setter Property="HorizontalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="Cursor" Value="Help"/> </Style> would change...

Dynamically pulling images and creating links

Is there a way to pull images from a directory and place them on a webpage and have links attached to those images that would take a person to a specific webpage associated with that image using PHP? Thanks ...

jQuery - Know when images are done loading in ajax response

I have a jQuery ajax function that loads some content into a div, some of the content is images. I would like to said until those images which where just loaded in my ajax, are finished loading, and THEN run a function, such as showing the content. This way, I won't have the content loaded into the div and the images start loading. I ...

capture a picture from using CPP

hi, i need a program to capture pictures from multiple webcams, and save it automatically in vista. i got the basic code from this link. http://www.cs.ru.nl/lab/des/marsrover/communication/pc%5Fimageprocessing%5Fcoordinates/VFWCapture.cpp the code runs in windows XP but when i tried using it on vista and it says failed. different errors...

Java Swing: Read many images files without memory problems?

Hi, I'm writing a Java Swing application that will load from disk about 1500 png images that range in size from 50kb to 75kb each. I don't need to load all of them at once, but I will need to load at 50 images at a time. I've been trying to load them using the typical: new javax.swing.ImageIcon(getClass().getResource("myimage.jpeg") ...

Adding an image to a JTooltip without knowing the image's path (due to the image being a temporary ressource)

To be a little more specific: I've built a simple multithreaded TCPServer (Java) which communicates with clients (C# / mono). On request the Clients take a screenshot and send it to the Server. The screenshots are then displayed in a JTable. I'd like to add a tooltip to these images in the table with the same image but in another size. T...