image

ASP.NET: Validate file size (width and height) before upload.

Hello! Is there some way to validate the image size (height and width) before upload it to server? I think is using Javascript but I don't know how. Or maybe with some client asp.net validator. Any advice? ...

PHP - How to replace empty alt tag on image

Hi folks Current image looks like <img src="images/example.jpg" /> Now if img src do not have the alt="", the code itself will replace the image like <img src="images/example.jpg" alt="" /> How can be done with php? ...

Byte array output as an Image

I know it is be possible to do this: <asp:Image runat="server" ImageUrl="~/MyImageHandler.ashx?imageid=2" /> ...but I have a case where the byte array data is only available to the Page (ie, not available in the session, and cannot be referenced by an id) so I can't point the ImageUrl to a different page. Is there a way of giving an ...

Duplicate Flex Object in HTML without Re-Initializing

I am creating a flash object that does some heavy image lifting. What I am looking to do is load many flash objects onto the same page to take an image, modify it, and display it within the flash object. The problem I am running into is that when I try to add 100 flex objects to the page, the browser freezes as it tries to re-load/initi...

How do you store an image(itself not the path) in a javascript varialble and then render it to the web page using javascript also (all process shoul be client-side)?

Hello, all, I am trying to find out a way to put a small jpg inside a javascript variable so that it can be rendered to the webpage. Even though i think this should be possible i don't exactly know how to go about this. So all should happen in client-side. Does anyone know how to do this? Thanks in advance Mario ...

Create image Thumbnails before or after upload the best way?

Hi. Imagine you have a classifieds website... When searching ads you want image thumbnails of the "real" image which displays in its real size after clicking the ad... Would it be faster to create the thumbnails per search, or create the thumbnails on and then just display them? Storage is not a problem on my server... Thanks ...

Byte Array to Image File

I am given a byte[] array in Java which contains the bytes for an image, and I need to output it into an image. How would I go about doing this? Much thanks ...

In PHP, How can I validate that a file is a picture?

The title says it all. If a file is uploaded to the server, how can I make sure that it's actually a picture (not just a file with a .jpg or .gif extension)? ...

download webpage and dependencies, including css images

Hello, often I need to download a webpage and then edit it offline. I have tried a few tools and the main feature they lack is downloading images referenced in the CSS files. Is there a tool (for Linux) that will download everything so that the webpage will render the same offline (excluding AJAX)? thanks ...

How to use OpenReadAsync and WebClient to download data and assign to UserToken?

I need to be able to use WebClient in a partiular way, I need to download an image as a Byte Stream and assign this to an Image, there are multiple images and items to be assigned, and these will appear in a list. This application is a Silverlight 3 application, solution must be one that works in Silverlight. I have a Download Method I...

Java applet - saving an image in a png format

Hi, I am creating a simple applet for avatar-making. You can choose face, hair, eyes, etc and then save it to a disc as a png file. The simple version (without the interface for the simplicity purpose) looks like this: import java.awt.*; import java.applet.*; import java.net.*; public class Example extends Applet { Image my_gif; I...

Web Applications Image Store

Hello, My organization currently uses a customized solution of a portal application which is used both as a Knowledge Management Portal and an intranet solution. The problem is this - All the images used in the application are stored in a folder called the image-store which resides in my search server rather than my web-server. Whe...

List of diagram / image editors for Delphi

I need a good diagram / image editor for a Delphi application. I need the ability to place an image in the editor, and use freely positioned balloons / tips to describe parts of the image. The result must be exported as an image. So far, I have evaluated KSDev Block Engine and TMS Diagram studio but am not completely satisfied with bot...

How does the default Camera iPhone app manages to save a photo so fast?

Hello everyone. So far I've managed to create an app for iPhone that takes multiple images with about a 3 second interval between each. I`m processing each image in a separate thread asynchronously and everything is great till it gets to the moment for saving the image on the iPhone disk. Then it takes about 12 seconds to save the image ...

show image from my web server to my iPhone application

i have soome image (.jpg,.png etc) stored in my web server. i am building an iPhone application which can upload or download images from/to my webserver. i can upload images to my web server. but i can not download images from my web server to my application. How i can do it???? ...

changing rgb values

hi i am trying to change a part of an image with another image i couldn't find the merging function so i just occur that can i change the rgb values of the part i want to change with the other images rgb values is it possible thanks for suggestions ...

Fallback image and timeout - External Content. Javascript

What is the best way to set up a local fallback image if the external image does not load or takes too long to load. ...

how to add image-border around an image?

Hi. Is there any simple way to add a image border around an image? Reason is I want to create a drop-shadow effect around the image. The images are loaded as thumbnails and are 110x75 px... Im thinking about creating a shadow border, but dont know how to add this to around the image, anybody know a way? PHP preferrably... ...

How do I blur an image?

I'm trying to implement a blurring mechanic on a java game. How do I create a blur effect on runtime? ...

Jquery photo comparison

There's a jQuery plugin out there that puts a dragable bar that lets you pull it to the left or right to show one image or another. You can keep it in the middle to see half of each photo. It's not a "slider". It's great for showing how something has been altered or photoshoped. Is anyone aware of this plugin and know where I can find it...