image

Change iPhone UISlider bar image.

Hi everyone! My first question on stackoverflow! I'm using a UISlider in my app but I'd like to use a custom "look-and-feel" for it. I have changed the thumb to my own image but is there a way to change the bar also? I have a bar image I would like to use but can't see how to do this. I have found how to change the max and min image...

problem in fckeditor image

hi.. i'm developing an application in which i'm using fckeditor to get content from user. content may contain images also. i want export that content to msword. i have done everything but while displaying image , images are not displaying. what should i do now? ...

How can I programmatically scrape an image from another website?

A few years ago I helped someone put together a webpage (for local personal use only, not served to the world) that aggregates outdoor webcam photos from several of his favorite websites. It's a time-saver for viewing multiple websites at once. We had it easy when the images on those websites had fixed URLs. And we were able to write ...

How can I stretch bitmap in WPF without smoothing pixels

Hi, I'm working on SEM image processing application, written in WPF. I have an image display control, derived from Canvas, which displays image & overlays using DrawingVisuals (one for each "layer"). It also implements Zoom & Pan using scale & translate transform, applied on DrawingVisuals. When I zoom in the image to see individual pi...

jQuery replace image source problem in IE

In the DOM I am loading a static Google Map image. When the document is ready with jQuery sometimes I need to replace that image with a bigger version. Problem is that in IE the CPU goes whooooooo because IE is still looking to load the initial image with no success. Is there a way to cancel or clear the previous load? EDIT: I should no...

Image upload options for website users

I want to be able to provide my website users with the ability to upload a profile picture. What are my options? What is the best way to do this? I would need to be able to limit the image size, crop / resize the image so that I can display thumbnails of the image. The website is written using Ruby on Rails ...

WPF container for Image template

Hi, I'm storing the urls to the images in a sql ce 3.5 database as strings. I want to retrieve the urls and display them in the main application window. Here is the code: DataSet myDataSet; private void OnInit(object sender, EventArgs e) { string connString = Properties.Settings.Default.SystemicsAnalystDBCo...

Resize the picture into 100x100 size and load into that resized picture in JLabel?

I resized the picture into 100x100 size by using Graphics class and drawImage() method. But i can't load the resized the image into JLabel. Is possible to load a resized picture into JLabel? Image image = jfc.getSelectedFile(); ImageIcon Logo = new ImageIcon(image.getPath()); BufferedImage resizedImage = new BufferedImage(width,...

Wpf: Image Control does not support .TGA files

In my application I am using Images, these images can be .tga(Targa Graphic) file as well, when I am creating instance of BitmapImage using .tga file, it throws exception saying "No imaging component suitable to complete this operation was found.". Is there any other way to work with .tga file in wpf? How can I use these(.tga) files jus...

iText image in java servlet

Hi, I'm doing the letter generation with iText (pdf/rtf) in java servlet and got a problem with accessing images. The images are in the WebContent/images folder. When I run it in a local server and pointing the full path of images directory (c://eclipse/myproject/WebContent/images/letterHead.jpg) its working, but it fails running on the...

How to display image in RSS?

I am trying to write a very simple RSS channel which would display the current day's comic strip from sinfest.net, but I cannot force it to display anything but the linked title. Link to one of the code versions: <?php $page = file_get_contents('http://www.sinfest.net/index.php'); $title = ''; $description = ''; $link = ''; $date = date...

Image source using project resource (WPF)

I added a bunch of images as project resources. Now i want to use them in my WPF application using the image control. How can I assign the resource to the source of the image control? ...

JQuery image overlay (and get rid of imagecopymerge)

Hi friends, In my project site I am merging a base image (a map) with markers (the same marker always but repeated) according to a table in MySQL using the php function imagecopymerge. I want to migrate this to jQuery since the refreshing of the image flicks, which is very ugly. Could you please guide me to the best solution? Thanks...

Remove the ability to resize an image pasted into a richtextbox and add an event to that image. C#

I have searhed high and low for a solution to this problem. I have no problem adding an Bitmap image into the richtextbox. The problem is that I don't want it to have the resize option to it. I want that one image to be SELECTED when I click on it, just like in most messengers, and to throw an onclick event. Any help in this area wou...

Grab image url from description in rss feed using php and simplexml

I'm trying to set up a php page made up of images from 3 different RSS feeds, in 3 columns. The first feed is from a Wordpress blog, the second from an Etsy store, and the third from a Flickr feed. What I would like to do is grab the link to the images from the first 3 items in each feed. Relevant information: The Wordpress feed puts...

Dynamic resizing images cache

I use simple PHP code (zend framework) to resize jpg images on the fly. Problem is I always end up with HTTP 200 status, instead having 304 and allow browsers to cache images. I cant get apache headers, function_exists('apache_request_headers') is false, and in server variable I have only 'HTTP_ACCEPT' => 'image/png,image/*;q=0.8,*/*...

Are there any "special" image compression algorithms for face cases?

Are there any "special" image compression algorithms for face cases? So i'm creating a canference programm i want to transfer images (or videos) of talking heads thru the internet are there any special algorithms to compress images\videos of talking heads so to make them smaller (like special voice compression algorithms)? ...

jQuery loading images with complete callback

I saw a comment on Ben Nadel's blog where Stephen Rushing posted a loader, but I can't figure out how I can pass the selectors and parameter.. I think I also need a completeCallback & errorCallback functions? function imgLoad(img, completeCallback, errorCallback) { if (img != null && completeCallback != null) { var loadWatch...

UISlider track image that doesn't stretch

Hi All, I'm trying to use a custom track image for a UISlider but it is an asymmetric image from one end of the slider to the other. I have tried setting up my image with leftCapWidth and so on but this just makes it take a maximum stretch and then starts spreading out one pixel of infor across the slider. I'd like an image that doesn...

How to access resources in JAR file?

Hi guys. I have a Java project with a toolbar, and the toolbar has icons on it. These icons are stored in a folder called resources/, so for example the path might be "resources/icon1.png". This folder is located in my src directory, so when it is compiled the folder is copied into bin/ I'm using the following code to access the resourc...