image

How come there is 4px of extra padding appearing under my <a> element?

H3LLO, For some reason there is 4px of extra padding appearing under the a element. I am seeing this manifest in both Firefox and Chrome. I remember seeing this phenomenon on Flickr in its early days except it was a blue bar that appeared under s wrapped in elements. Here is a link to the example code that illustrates my problem. The...

Displaying images in SVG inside HTML

As part of a hackweek project for visualising the number of people at London Tube stations, we have an SVG image linked to with a standard tag in HTML. This svg file is generated by PHP, and includes an tag importing the tube map and some tags. When viewed directly, this works fine. However, when viewing the HTML page containing the S...

How to read image metadata from a URL?

I want to read metadata of already uploaded JPEGs on S3. Is there a way to do that in Ruby without downloading the file locally? The problem I am facing is that Image(Mini)Magick doesn't take a URL as a source (or at least I didn't find the right command). Update: This is working: >> image = MiniMagick::Image.from_file -path_to_file...

Need MD5 hash for an in memory System.Drawing.Image

The title says it all. ...

javascript/jquery: looking for image-fading script

hi all, i'm looking for a lightweight script (pure javascript preferred) - it should be for smoothly fading a sequence of images into each other (=image-carousel). it should also be possible to run several instances (so it should be a prototype script), like for example: - site banner: fading 3 images after each other - main content: 3...

how to determine if the Tpicture are contain Jpeg?

i am using delphi7/2009. how to determine the content of Tpicture? jpeg bmp png etc? ...

Don't see the image in the ckeditor wysiwyg

Hi, I try to use an imanager (or ibrowser) in plugin. I found the solution to implement this plugin. The process : in config.js, I insert this line config.extraPlugins = 'imanager'; in the plugin folder, I created a directory with imanager in this directory : i created a file plugin.js inside this file, I have inserted this line...

Anyone know the difference of these 2 pictures?

Firstly, please go to this url: celebritywallpaperbase picture #1 is Drew Barrymore smile picture #2 is Debby Ryan They are both 1920x1400 but Safari on iPad displays picture #1 with 960 x 720, whereas picture #2 is dislpayed with its actual size 1920 x 1440. I am making a photolib project for iPad & I wish Safari always display my p...

img replacement with JQuery

Hi, I'm new to Jquery and even Javascript. Found and implemented this script that in a timely matter replaces images. Script works well when I wrap the images in an tag. I want the images to be links. As soon as I wrap the tags in an tag the script sill refreshes every so many seconds but it doesn't load the next image. What should...

How to check if an image is a scaled version of another image

Hi, I am looking for an EASY way to check if an image is a scaled version of another image. It does not have to be very fast, it just should be "fairly" accurate. And written in .NET. And for free. I know, wishful thinking :-) I am pretty sure, even without having tried it, that converting the bigger image to the smaller scale and com...

ajax - check images have loaded before writing to the page

I have a bit of a problem that I have just found, after I thought this project had finished. It worked perfectly on my local server but when I pushed the code live the images can take half a second to load properly causing a little page thumbnail to pop up over a loading image. grrr So whats happening? Well first off a function runs o...

Java - save Printjob or Simpledoc as Image

Hi, I've written a programm in java for printing images, barcodes and text .. now i've been asked wether i can spool the data to an file too .. is it possible to do this? (for example convert the simpledoc to jpg or so) DocPrintJob job = pebble.createPrintJob(); PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet(); aset...

new google images how do they float correctly

Has anyone seen the new google image search. It manages to make the images float in an area. the images fit into this correctly by grouping them in the sizes. Frog images I guess there are two ways of doing this: Scripting by some sort of rule involving the widths and heights of these images A Css rule for creating the images. In ...

How do you display a browseable list of images obtained from an RSS feed?

I have a requirement to grab images from an rss feed and display these images in much the same way as browsing your picture library and I really dont know where to start first. I can get tutorials on the rss reader but I really dont know the component to use to allow the user to "swish" through the images on screen Any help much apprec...

jQuery image resize gone wrong!

A few days ago, I was wondering why when I set the images' width and length attributes on my site to percentages, it wasn't scaling the image down the way I thought it should. The problem was that I wanted it to scale the image down, but it was actually scaling down the images' container. Anyway, I was actually fond of Pat's suggestion...

How to detect points which are drastically different than their neighbours

Hey I'm doing some image processing, and am trying to keep track of points similar to those circled below, a very dark spot of a couple of pixels diameter, with all neighbouring pixels being bright. I'm sure there are algorithms and methods which are designed for this, but I just don't know what they are. I don't think edge detection wo...

Does HTMLUnit load images when it browse page ?

as above. Does it? ...

Wordpress - Fatal error: Out of memory (allocated 48496640) - netfirms

I'm having a problems uploading images and keep getting the same error message. I've googled the issues and have found some "fixes" but they don't seem to be doing anything. I've tried adding a custom php.ini file Adding ini_set('memory_limit' ... in the file that throws the error The site is being hosted by Netfirm (which has been pa...

Android Converting from NV21 Preview Format on Nexus one to JPEG

Hi, How can I convert from NV21 to JPEG. Currently, NV21 is the only previewFormat that is supported by the camera on a Nexus One (running Android 2.2). Thanks. ...

Get href,src,width,height of image using jQuery

Hello, I want to get the href, src, width, height of all images on a page. The jQuery code is $('img:regex(data:extension, jpg)').each(function() { var imgsrc = $(this).attr('href'); //$(this).attr('width') =0; var newImg = new Image(); newImg.src = imgsrc; var width = newImg.width; //wid...