image

Kohana image library chmod error

Hey, i am confused by this weird error i get, I have an upload form that works fine but when it tries to rewrite an existing image it throws a chmod error, however it only does it with images that existed on the server, so if i upload a pic and upload that same pic, it rewrites it successfuly, but will throw an error on pics that were up...

What technical/legal responsibilities do I have when hosting images uploaded by others?

You may argue that this question has a legal flavor to it, and that would be correct. Still, it is also a question from a developer's perspective that may help others. I'm building an image community web site/application. Users can upload images. During upload, users have to select the license (copyrighted, attribution non-commercial or...

Android: Image displayed at Webview from Url with high quality loss

I want to display an image from an url with an Webview at Android. With Android phones with Version 1.5 and 1.6 there is no problem. but the same pic and the same code on an AndroidPhone with Version 2.0 and the pic is totaly pixelated. Like Android is resizing the image first to a smaller one and then resizing it back to "normal" size...

How can I put an image in my form?

Hey guys, I'm having a problem. I want to put an image inside a form in Java and I don't know if I'm using a proper technique (found it somewhere in a web page). private void iconSelect() { String iconString = ""; if (typeCombobox.getSelectedIndex() == 0) { iconString = "LP_"; } else if (typeCombobox.getSelectedInde...

what are the dimensions of the largest usable JPEG image in GAE?

There are a couple limits on the size of images when you start to talk about Google's App Engine: 10 MB -- the upload limit 1 MB -- the manipulation limit (I do not know what else to call this) But, folks have reported that they have exceeded the manipulation limit while working with images that are smaller than 1MB... So, it seems t...

I want to use the fleximage gem and s3 for storage, but don't want dev/qa/test envs to use s3

I have a rails app that I'm going to host on engineyard and want to store image files on s3. But I don't know if I want all developer machines to beusing s3 for storage of all our test and dev images. Maybe it's not an issue -- but it seems like a waste to have everyone storing all our images in s3. I've heard of some ppl who store ima...

Simple image server

I have a bunch of images that I need others to browse via a web browser in pretty much the same way as Apache-Gallery. I'd be able to dump all my images in a directory so that users hitting: http://server:port/directory would see small thumbnails and selecting an image would load it full size on a page with options to browse the prev...

Panning Image Using Javascript in ASP.Net Page Overflows Div

I have an ASP.Net page that contains a <div> with an <img> tag within. The image is large so the <div> is set with a size of 500x500 pixels with overflow set to scroll. I'm attempting to add image panning using a click and drag on the image. However, every time I begin dragging the image escapes the boundary of the element and consumes...

How can I keep a WPF Image from blocking if the ImageSource references an unreachable Url?

I'm writing a WPF application and trying to bind an image to my view model with the following XAML: <Image Source="{Binding Author.IconUrl, IsAsync=True}" /> The problem is that the image URLs are defined by users and can often refer to images hosted on intranet web servers. When the WPF application is run remotely, it locks up while...

Image overlay on external window

I'm writing a C# WPF application that creates a video capture of the active window. What I want to do is overlay a transparent .png file in the corner of the active window while a capture is in progress so that all the videos created by my application are watermarked. If I have the IntPntr handle of the window I am capturing and an ima...

C# Graphics class: get size of drawn content

I am writing to Graphics object dynamically and don't know the actual size of final image until output all peaces to the Graphics. So, I create a large image and create Graphics object from it: int iWidth = 600; int iHeight = 2000; bmpImage = new Bitmap(iWidth, iHeight); graphics = Graphics....

Why can't I set the Image Source in WPF app?

I'm just learning WPF. I'm using VS 2008. I've added an Image control to my XAML, and I added a GIF file to the project. If I use the XAML Designer's property panel to set the image's Source property, the drop-down list for the Source property contains the following: C:\Sample Project;component/pinHorizontal.gif There are several prob...

problem getting a form image background

I'm creating a datagridview transparent //I got the parent background image Bitmap parentBackGround = new Bitmap(this.Parent.BackgroundImage); //Set the area i want to create equal to the size of my grid Rectangle rect = new Rectangle(this.Location.X, this.Location.Y, this.Width, this.Height); //And draw in the entire grid the area...

Wait until image loads before performing function

I'm trying to create a simple portfolio page. I have a list of thumbs and an image. When you click on a thumb, the image will change. When a thumbnail is clicked, I'd like to have the image fade out, wait until the image is loaded, then fade back in. The problem I have right now is that some of the images are pretty big, so it fades ou...

How to get rid of box around linked image

Hello, I know I've solved this problem before, but I can't remember or find the solution, so here I am... In Firefox 3.5 this code causes an undesirable blue border around the image. How do I get rid of this blue border? <a style="text-decoration: none;" href="index.html"> <img src="http://www.google.com/logos/stpatricksday10-hp.gi...

Working with images in WCF

Hi, I have a desktop application that needs to upload/download images to/from service computer over TCP Protocol. At first, I stored images in file system, but I need to in MS SQL DB to compare which solution is better. Number of images is over half a million. I don't know yet will there be any limitation on size of a photo. If you ha...

change image use javascript DOM

<html> <head> <script type="text/javascript"> var curimage = "cottage_small.jpg"; var curtext = "View large image"; function changeSrc() { if (curtext == "View large image"||curimage == "cottage_small.jpg") { document.getElementById("boldStuff").innerHTML = "View small image"; curtext="View small image"; ...

Alt for images in JasperReports

Hello all, While putting an image element in PDF report, how can we give the alt description or similar kind of description for that image? The idea is to read the description when some screen reader is used to read the PDF. Currently, the reader (JAWS) says just 'graphic' when encountering an image in the PDF. Thanks! ...

iPhone images on the simulator and the actual device - different bitsPerPixel values?

Hi there, I have code running in an iPhone application I am developing. Basically, the code needs to load an images and calls: size_t bitsPerPixel = CGImageGetBitsPerPixel(imageRef); I noticed that on the iPhone simulator this call returns 24 and the device itself it returns 32. Is this behavior by design? Is it somethin...

How to display image in crystal report?

I have created a new .rpt file. Right click on section 3 and there added a picture. It shows nicely in the editor (Visual Studio 2008) but when I generate the report as a pdf file then I do not get to see the image. What am I doing wrong? ...