image

Unable to resolve uploaded images paths in partial view on server.

My ASP.NET MVC web app requires the upload of image files. These image files are then displayed via a partial view rendering where the path of the image file is inserted into the scr parm of the image tag. This works great in development mode however when I deploy to the server the images won't display. I have tried many way to specify t...

How can you dynamically put different patterns on images in a webpage . .

i have A bunch of fabric patterns (simple jpg files) An image for every letter of the alphabet(blank white background) I essentially want to have a page similar to this: http://www.craftcuts.com/hand-painted-wooden-letters-single-patterns.html but instead of having it as a static page, i would like a user to be able to: Type in a ...

iPhone get image width and size

hi all, i am new to iPhone. i want to get the height of a image. so i can set the frame of UIImageview accordingly. Please suggest how can i get the original size(width and height) of image. ...

How to save an image from SQL Server to a file using SQL

Question In SQL Server 2005, I have a table with images (data type: image). Using only SQL, how do I save an image as a file (on the same server that SQL Server is running). If I have to, I'll use SQL CLR, but I want to avoid that if possible. Background I want a SQL Server job to run no a schedule that calls a proc that will send ema...

Preload images from an Ajax Call

Could someone help me understand how to preload the images from random.php page so the first time it loads it fades in as it should. Currently its got an ugly bulk echo because they're not preloaded but once the page has been run once it fades on after the other perfectly... //Loop through the images and print them to the page for (var...

how to avoid flickering when changing the source of an mx:Image in flex

Hi, in my mxml file I have images declared like this: <mx:Image x="0" y="0" source="assets/bigpicture.png" id="picture1"/> and at some event I do: picture1.source = "assets/bigpicture2.png"; However this results in flex removing the picture, and when it has loaded it will show it again. How can I make the mx:image make so that it...

EmguCV/OpenCV Image addition/subtraction

I am using EmguCV and am trying to subtract 2 images to create a filter similar to AForge .NET's MoveTowards filter. This is what my slightly modified version from the above URL tries to do. Given 2 images, the source and the overlay - it slowly moves the source image towards the overlay. It does this based on the following: result = s...

vb.net: Get to resources of a referenced project

I have a project which contains all custom controls and images; we'll call it projectBase. Now I have created a windows forms project (project1) that references projectBase. I need to access the embedded resource (images) of projectBase in project1. Any idea how i can pull this off? ...

Performance in tables with binary data/images

I made a people maintenance screen. The client want me to store the photo of every person in the database, and I made it without problems. I have a separate table for the images with two fields, Id_person,and Image. I'm a little worried because it's the first time that i work with images in database. will I have problems of performance ...

How to programmatically set contact image in Outlook 2007?

How could we automatically/programmatically set the sender/contact image in outlook 2007? They are colleagues, and all employees pictures are stored in netshare. ...

How to disable right-click save on one specific image only

Hello, I'm running an Asian e-commerce site where users post images of their products. Is there a way to disable right click for only 1 specific image on the page? E.g. When viewing a product, there is a large image, and then some thumbnails of the product. When trying to right click on the large image, I want to disable right click...

Javascript/JQuery: Gallery with very large images. How can I have it on click fade out, load the next image, and then fade in w/ the new image?

Hello, my boss has me working on a website that basically has a very large gallery right in the middle. The way this one part needs to work is that the user clicks a next/prev button, the image fades out, displays a loading spinning image gif, and then fades in with the new image when it's down downloading. I have no idea where to even b...

Transforming coordinates from an image control to the image source in WPF

I'm trying to learn WPF, so here's a simple question, I hope: I have a window that contains an Image element bound to a separate data object with user-configurable Stretch property <Image Name="imageCtrl" Source="{Binding MyImage}" Stretch="{Binding ImageStretch}" /> When the user moves the mouse over the image, I would like to deter...

UIWebView locally save images and just load html

Hello, i want to load just the html from the web and show the images from the local resource. This helped me a lot, but is the path to the resource on every device the same? Or does it depend on an installation path or similar? http://stackoverflow.com/questions/1577576/show-content-with-uiwebview-on-the-iphone ...

How to identify/check blur image?

Hi How can we identify that a given image is blur or how much percent is it blur in C#? Is there any API available for that? Or any algorithm that can be helpful in that? Thanks! ...

How Is The Structure Of a Image

Hello, I'm thinking to build a library to manipulate images(my own image type that I will develop), but first I need to understand the structure of a image How it is mounted? About the layer technology... Where I can find some good resources to understand these things? Thanks. ...

jQuery resize to aspect ratio

How would I resize a image in jQuery to a consistent aspect ratio. For example setting maximum height and have the width resize correctly. Thanks. ...

How to simulate click on <input type="image" /> ?

when we submit a form using this type of input, the coordinates (x,y) are appended to the result. it works if I dynamically create 2 hidden inputs, but I wanted something different. Event or MouseEvent would be great, but I couldn't make it work here's my current code: (it works fine) var input = document.createElement("input"); input...

osCommerce images not displaying

Hi, i really hope someone can help me. I am hosting osCommerce on a windows server 2003, PHP Version 4.3.10. i recently move hosting provider and uploaded my site via FTP and setup database etc, everything appears to be working correctly however for some unknown reason no images are showing on the website. When i view the source of the...

Convert from 32-BPP to 8-BPP Indexed (C#)

I need to take a full color JPG Image and remap it's colors to a Indexed palette. The palette will consist of specific colors populated from a database. I need to map each color of the image to it's "closest" value in the index. I am sure there are different algorithms for comparing and calculating the "closest" value. Looking for C#, .N...