image

Image Upload Service - Image locations and Image Identifiers

I would like to create a image uploading service (yes, i am aware of imageshack, photobucket, flickr...etc) :) I have seen only imageshack show the directory names ("img294", "1646") of where the image is located, in the same way - i would like to do this. http://img294.imageshack.us/img294/1646/jquery**kd5**.jpg 1) Are there any sec...

How do you validate attachment_fu's image width and height?

I want to be able to validate the image is exactly a certain with or a certain height, or if it's square. In the validation block of the model that has_attachment, when I try to access image_size, width, or height, it always comes out as null. I also asked the question here if you want more details. ...

Generating an image with data fields using Java

How would you generate an JPG image file containing data fields that are stored and updated within a database table? The image would then be regenerated every hour or so reflecting the latest values within the database table. You would start with a basic background image, and then the generated image should contain data fields (e.g. av...

MVC RC "File" ActionResult, performant?

With the new "File" ActionResult, I was thinking about creating a controller to display certain images in my ASP.NET MVC app. Something like: <img src="/Photo/Show/hello" alt="Hello" title="Hello" /> versus: <img src="/Photo/Folder/Hello.jpg" alt="Hello" title="Hello" /> I'm curious as to what the performance impact would be. Assu...

Outlook HTML Mail - changing linked items to embedded

I'm attempting to send HTML formatted emails using C# 3 via Outlook.MailItem Outlook.MailItem objMail = (Outlook.MailItem)olkApp.CreateItem(Outlook.OlItemType.olMailItem); objMail.To = to; objMail.Subject = subject; objMail.HTMLBody = htmlBody; The email is generated externally by saving from an RTF control (TX Text Control), which yi...

Image with rollovers

Hi, I have a big image that has to go in the background. Say the image is a square. Now when someone does a mouseover on any of the square's corners, the image should change to the green version of the image. Actually the background image is going to remain, but I have to somehow overlay the green image slice over the background im...

Django - how do you turn an InMemoryUploadedFile into an ImageField ?

I've been trying help(django.db.models.ImageField) and dir(django.db.models.ImageField), looking for how you might create a ImageField object from an image that is uploaded. request.FILES has the images as InMemoryUploadedFile, but I'm trying to save a model that contains an ImageField, so how do I turn the InMemoryUploadedFile into the...

Paste an image from clipboard doesnt work when web application is configured thro IIS

Hi All, Am creating a web based application using ASP.NET v2.0. I have an urgent requirement in my project - to have a control in my web page that would allow the users to enter text or copy paste image from the clipboard (say a snapshot). In order to achieve the same i have tried using the windows clipboard class in web forms and ret...

Solution for writting a program for keep secret photos.

Solution for writing a program for keep secret photos. I have many secret photos of me and my friends and I don't want anyone to see it for now I just use Winrar and Set password feature and use some encrypt and hide folder software. But I think it isn't enough safe. As I am a C# programmer ,I want to develop an application for ...

How can I extract a specific Image from an Icon file in .NET?

Icon files (*.ico) may contain multiple images at different sizes and of different colour depths. How can I obtain a System.Drawing.Image object from a .ico file? One option is Image.FromFile(...), but for icon files with multiple images there is no way to specify which image size and colour depth to return. Ideally the solution would...

ASP.NET MVC - Image Upload Failing

Got a simple form, posting to an action... the action takes the data and creates a record in the DB, and copies the image to a directory. Works great on my local dev box. Upload the form to my host, and the image uploading doesn't work. The form acts as if it's failing the UpdateModel(), but doesn't show any validation messages. Anyone...

Images do not load on website in Safari (Mac 10.4)

I'm having trouble with a website of ours that is not displaying images on Mac Safari The exact same website is on a dedicated server and works fine. When we moved it to a load balanced environment the images stop working only in Mac Safari, but still works in all other browsers including windows safari, and Firefox on the mac that had ...

Images not loading in jQuery

Dear all I am using jQuery . test.html contains images and Text. Now I need to load using test.html <img src="../images/lib.jpg" alt="test" width="320" height="290" /> <p>Textt </p> JQuery $("#content2").load("sub_test.html"); The Result of Content2 didn't display the images. ...

Handling URLs inside a CSS in CakePHP

Heyall, I am designing a website using CSS Files a lot, but I have several occurrences of background images, images for bullets in lists and I will probably find another need for the css url() function. But, in cake, all URL should be handled by the Route::url() function, in several ways, being most common the $html->url() But my prob...

.NET: How to load an image into an ImageList?

i have an image that contains a series of images, e.g.: In the olden days, i would load the image into the ImageList common control using such API calls as: ImageList_Add ImageList_LoadImage IImageList::Add What is the .NET method of achieving the same result with the .NET ImageList class? Note: The image is only an example. My...

Silverlight: Getting image (from OpenFileDialog) width/height.

Hi, there is my first time on Stack Overflow, thanks in advance for any help I get. I've been using the BitmapImage.DownloadProgress event to wait until the image is loaded when creating a bitmap from a URI. That was I can use an event handler to check the Image.ActualWidth/ActualHeight after the download is complete. This works fine. ...

Does resizing jpeg images affect their compression?

Hello. I'm resizing jpegs by using the Graphics.DrawImage method (see code fragment below). Can anyone confirm that this will not affect the compression of the new image? I have seen this thread, but I am talking specifically about compression of jpegs. private byte[] getResizedImage(String url, int newWidth) { Bitmap bm...

How to increase DPI of an image and make it sharper?

I want to increase my image resolution to 300 dpi, and also I have a text image which is unreadable, so I want to zoom its word size and clarity. How can i do that? ............... from beginner ...

Is is possible to insert an image into an excel cell via COM?

I have used automation to insert values into a cell, however I have never seen any documentation, for example, that demonstrate inserting anything other than text and/or formula's. Has anybody been able to insert an image from an external application? ...

Base 64 encode vs loading an image file.

So I am working on something in php where I have to get get my images from a sql database where they will be encoded in base64. The speed of displaying these images is critical so I am trying to figure out if it would be faster turn the database data into an image file and then load it in the browser, or just echo the raw base64 data and...