image

Getting a facebook profile picture from an email address

I'm trying to get a user's facebook profile picture based on their email address. Effectively, I want to offer my users the option between using Gravatar for their image, or Facebook. However, the only way I know of to get a user's facebook image is via: http://graph.facebook.com/[FBOOK USERNAME]/picture?type=large Since the usernames ...

OutOfMemory Exception while using FileBody for sending images to the server in Android?

Hi, I am using FileBody for sending images to the server from Android. But when sending bigger images the application crashes with OutOfMemory exception. Is there some way of overcoming this? Or has anyone faced the same problem with FileBody. Please help me out in this regard. Regards Sunil ...

css image in not showing in safari ?

the following code is not work in safari, but properly work in IE. <style> .my { background:url("../../myproject/images/add.gif"); width:100%; height:22px; background-repeat: no-repeat; } </style> <span class="my"> </span> ...

How can you prevent Formsauthentication to block css and images?

Hello, I have a project containing an image, css and js folder. I want to make sure no css, image or js is blocked when using formsauthentication. I know you can do this with the locationtag in the web.config but I was wondering if you could do this otherweise? this is how I do it right now: <location path="css"> <system.web>...

Need to know more about image Editing in flex

Hi, I need to know how to manipulate the images I am a very new at flex and AS3 progragramming.Can you help me out of clearing things like I want to use as3corelib and imageprocessing libraries in flex. ...

How to caputure an Bitmap created from a Windows Forms control to a BitmapSource?

Hello. I want to caputure an image of a control which is an ActiveX imported control and display that image in WPF. The reason I do not use the windows forms host is that it is too slow (i want to create a list with these activex controls) : so far i have: public Bitmap CaptureCtrl(Control ctrl) { // Ein neues Image mit...

Flex 4 - Wrapping text around an Image

Is it possible to wrap text around an image? Here is a link of what I would like to do with Flex, not HTML as in the example. Will it be possible to use the textFlow component like we tried here? <s:TextArea width="100%" height="100%" editable="false"> <s:textFlow> <s:TextFlow> <s:img source="imageLocation" width="80" height="80" ...

Dynamic window size in ExtJs

Hi there, I am using ExtJS for my project. I need to create a window in ExtJS of variable size to display an image my user has uploaded. But, if a smaller image say 150x150 is uploaded, I want the window to "fit" the image, i.e., the window should be 150x150. But if a larger image, say 3000x3000 is uploaded, then I want the window to...

Image SRC From PHP Script on IIS - Not Displaying Consistently

Last week I converted my page img src values from pointing at image files to using a PHP script to serve up the images. The primary reason was to accommodate both files and database BLOBs as the actual source. Now when a user goes to a page, sometimes images show and sometimes not. If not, and the page is refreshed\reloaded, then the im...

Is it possible with jQuery to dynamically resize an image based on the width of it's parent DIV?

I have a DIV tag that will be 500px in width. Content is coming via an RSS feed that includes images. Some of these images are wider then 500px which destroys the layout. Is it possible to use a bit of jQuery to resize images on the fly if they exceed 500px in width and keep the ratio proportionate? Thanks for any suggestions. ...

TimThumb vs Saving Thumbnails

Just a quick question: I'm working on revamping a script that serves vehicle inventory to users. The site receives thousands of hits per month with many pageviews per visitor. My question is this: I am going to have 7 images for each vehicle in the new system. 1 Main Product Photo 6 Interior Extra Photos The 6 extras will be viewed a...

JavaScript Timed Image Swap Need Help

So in my script I have... <script type="text/javascript"> var images = new Array(); var numImages = 3; var index = 0; function setupSwapper() { for (i = 0; i < numImages; i++) { images[i] = new Image(266, 217); images[i].src = "images/image" + i + ".png"; } setTimeout("swapImage()", 5000); } function swapIm...

Load entire image and use CATiledLayer

Hello, I'm not sure I did understand that very well in the Apple doc. I'm considering using CATiledLayer to display a JPEG image. However, I only have an entire JPEG file at my disposal and no small tiles. Is it still possible to use a CATiledLayer and let it "tile" the JPEG? Thanks! ...

How can I get old version of genuine iOS images from Apple?

Is there any way to get old versions of iOS images from Apple? The images required to test apps. But there is no way to get this as I know. Of course, there're some floating files on internet, I can't trust them. Because any modified image is useless for testing purpose. ...

Best way to display part of image defined by x+y coordinates?

So, I have a load of database entries, each with an associated image file, and X and Y coordinates indicating which particular part of the image file it relates to. See the image and x1/y1/x2/y2 columns below | idx | code | ref | imagesub | image | x1 | y1 | x2 | y2 | -------+--------+------------+----------+-----...

C++ Importing and Renaming/Resaving an Image

Greetings all, I am currently a rising Sophomore (CS major), and this summer, I'm trying to teach myself C++ (my school codes mainly in Java). I have read many guides on C++ and gotten to the part with ofstream, saving and editing .txt files. Now, I am interested in simply importing an image (jpeg, bitmap, not really important) and renam...

How to set panning area after rotating image using matrix in FLEX

Hi, I am working on a image editing tool where user can pan / rotate and zoom the image. I am using Matrix to apply rotation and zooming effects. Now the probelm is that if image is not rotated, its panning works perfectly. But once the user rotates it, panning functionality goes for a toss. Here's the line of code i am using to drag (p...

Working in java image

Dear All, I will explain my question clearly. I need to zoom in/zoom out the world map. When I click on the particular country in map, control should redirected to new page with respective the country. I dont have any idea about this in java. Please explain the steps to acheive the above task. ...

display custom cursor in myweb page

hello.. i want to do custom cursor in particular place in my webpage. i have number of images when mouseover on images then cursor image change as a custom cursor. how to do ? ...

http headers for faster image loading ?

Hi, I need to load almost 100's of images in a single page on my website. ( product image, lots of them ). Whenever image change for product, url for that image also changes. i.e. for one url corresponding iamge never changes. Now I want to make sure that for a same person browsing through website, the image must not load again. Is ex...