image

Handling Image Click Event in a ContentEditable region

I am trying to customize jwysiwyg jquery RTE. I would like to build an image attributes editor so that once an image is inserted into the editable region, the user would select it and then a modal window or properties panel would appear allowing the user to edit the width/height etc. Analogous to gmails image insert UI. The problem is I...

Image rotator using mouse drag event in Javascript

Hi, I've been searching for this script all day. does anyone know any such script that I can use to rotate an image using mouse drag event. using javascript. thanks in advance. ...

How would you pick the best image from a webpage in a crawler?

If you were given any random webpage on the internet and had the html source only. What method would use to give you the most accurate image that would best describe that webpage? Assume that there are no meta tags or hints. Facebook does something similar when you post a link but they give you choices of n images to chose from, they d...

what is resolution of photo taken by iPhone 4 camera ?

In specs, iPhone 4 screen resolution & pixel density * iPhone 4 has a screen resolution of 960×640 pixels, which is twice that of the prior iPhone models As we know, when we code like this, CGImageRef screenImage = UIGetScreenImage(); CGRect fullRect = [[UIScreen mainScreen] applicationFrame]; CGImageRef saveCGImage = CGIma...

How can I restrict access/view images of other user uploaded using CK Editor

I am using CK Editor, in my application every user have his separate email templates. I want to store images to user specific and user should not view other user uploaded images when browse to Server to upload images Thanks ...

Is there an API that can take a div from a webpage and turn it into an image?

Is there an API that can take the content from a div from a webpage and convert it into an image? ...

ASP.NET MVC Image Load on Refresh

Hi Guys, I am trying to figure out how to do a server ASP.NET MVC Image Load on Refresh. Basically, I have an array of image's I would like to rotate on refresh on the page. I know how to do this in jQuery but the problem is that all images load at the same time [which sucks in terms of performance] Does anyone know how I could do this...

How do/should I prepare a folder for stored image, reference from sql, save the image location using C#

Really hoping someone can provide some code sample or point me in the right direction (with examples C#.net). I did try to check if this question was asked before.. but didn't really find code samples which answered all my questions. Image folder for saved files -should this be in the solution or somewhere else What kind of data type -...

Compare 2 images in php

Comparing 2 images to see if they are both the same files are easy, threw the files MD5, but is it possible or even plausible to determine if 2 images are same by using PHP GD to get the difference of the two images. If we where to get the difference of the two, and it was all white (id assume white or even black), then we would now know...

Drawing on Image in .NET - how to erase?

I'm planning to allow user drawing shapes and lines on image using mouse. If the background is solid, it's quite easy to build the eraser tool (simply fill with background color). But how to make it with image as background? ...

How to edit an PNG image per pixel via cli?

Say I have an PNG image where I want to change certain pixels to, say, black. How would I do that? My guess is that I should take the ImageMagick route. But how would I change, say, pixel ten from the top and from the left to black? To, say, 2% grey etc? EDIT: Since the comment field doesn´t work for code, this addition is directed t...

Weird image injection when using YUI grid

Hi all, I was trying to use YUI grid and i noticed something weird coming up on my webpage: <img id="fvdkoff-target-image" style="border: medium none ; margin: 0px; position: relative; visibility: visible; color: transparent; z-index: 2147483647; left: 424px; top: 274px;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAA...

Jquery WYSIWYG with image uploader

Hi guys. I'm driving nuts around here. I'm building a CodeIgniter CMS and I need to use rich text areas. Image uploading is a must. I've been trying NicEdit all weekend, and it has great and simple image uploading but it shows some really strange issues on IE8 that I can't fix. So...I'm ready to try something else. I've seen FCKeditor, C...

excanvas + Dojo: getContext is undefined

When I execute the code below in IE7/WinXP32, then the output in the console is "undefined". The output changes to the expected "getContext()", when I make either of two modifications: I remove the image tag. I use: <body onload="draw()"> Any idea what is going on here? What may be a workaround? <!DOCTYPE HTML PUBLIC "-//W3C//DTD...

Facebook stream.publish with image attachment from Base64

I'm trying to get facebook's stream.publish to make a wall post that includes some custom text and a dynamically generated image from the site. The Image is only available as Base64 as it is drawn by the user before the publish action is initiated. Facebook doesn't seem to like the src being passed in as a Base64 string. Does anyone know...

JavaScript - How to make a sliding image viewer?

Hello. Can anyone explain how to create a sliding image viewer using javascript or jquery? From the ones I've seen, it looks like all the images are side-by-side and then buttons move the images across depending on the width of that image. Which shows the next image. There's one of these image viewers here. I'm not after the scrollbar th...

Magento images not displaying in front end

Hi, I can see images in the back end. On the front end of the catalog, no images appear for products, just the default "Image Not Found" icon. Images definitely exist, e.g. media/catalog/product/f/o/foo.jpg They also appear to be correct in MySQL: | 4 | 77 | 248 | /f/o/foo.jpg | I've cleared all...

Problem with htaccess (images)

RewriteRule ([a-zA-Z0-9/_]+)/([0-9]+)x([0-9]+)_([0-9a-zA-Z_]+).([0-9a-zA-Z_]+)$ imgsize.php?&w=$2&h=$3img=$1/$4.$5 [L] path to file: /imgsize.php?w=200&h=100&img=uploads/elvita.jpg /uploads/100x110_elvita.jpg why its not working? :( ...

Permanently-Caching images in GWT

Dear members, What's difference between cache & permanently cache in browser. In GWT framework image files rename to .cache. pattern and I read somewhere in google website to cache permanently images in GWT configure the App-Server for caching them permanently. But I don't know how to do this exactly. My website's images will never chan...

Image uploading with PHP

I've been building an event promotion site in PHP and MySQL for the past couple of months where anyone can sign up and add their local event's details along with a poster, which I resize. As it stands, I've got the whole process working fine locally and on a hosting service, but before the site goes live I have a couple of questions on...