image

How is a website hacked by a "maliciously encoded image that contained a PHP script hidden inside it"?

My ad server has been hacked over the weekend. It seems to be a widespread problem, according to this article. There is something in there that got me thinking... Attackers used one attack to get login rights to his server, and then uploaded a maliciously encoded image that contained a PHP script hidden inside it, he said. ...

algorithm for scaling an image from a given pivot point

standard scaling using the center of an image as the pivot point and is uniform in all dimensions. I'd like to figure out a way to scale an image from an arbitrary pivot point such that points closer to the pivot point scale less than points away from that point. ...

jquery each and onload problem

Hi, I have this following code $(function () { $.post("fetch_data.php?url="+$('#url').val(), { }, function(response){ var arrValues = [ "path/to/img1", "path/to/img2", "path/to/img3", "path/to/img4" ]; //output from php var img = new Image(); $.each(arrValues, function( intIndex, objValue ) { img...

Flex 4 RichTextEditor Insert Image Functionality

Hello! How can I make it so that the RichTextEditor from Flex can add images? I'm not talking about the upload process, but rather then way I can insert images into the textarea. Thanks! ...

Store large image

Hey, I'm looking for a way to store a very large image (e.g. 100.000x100.000 pixels) on a webserver. I must be able to retrieve parts of that image and write parts into it. The cherry on top would be a way to get parts of that image, resized to a specific resolution (for example, i want alle pixels from 0,0 to 10.000,10.000 resized to 1...

Why do BITMAPS load "upwards"?

If you have a really really large JPG and a BMP embedded on HTML and you load it into Firefox, you will notice that the JPG will load "downwards" (paint from left to right, then down) and the BMP will load "upwards" (paint from right to left, then up). Just curious. :) ...

Getting an irregular-shaped object's pixel area in Photoshop

Is there a way to get an oddly-shaped object's pixel area in CS5? Eg. Circle/ellipse. Or, if there's some easy-to-automate way to do it outside of Photoshop. I know it's possible to use a magic wand selection and see the height+width in the info panel, but that only works accurately for rectangles. Thanks!! ...

How do I set background image in the table view cell in iPhone

Hi friends, I want set the background image for cell. I have already set the background images for the cells in the table view. But I want to set the two images for the background images in the table view cell. I want to set the alternate cells for the background, Like, Image1- Cell 1, Cell 3, Cell 5, Etc., Imgae-2- Cell 2, Cel...

Organizing Images and their thumnails

What's the best-practice method of storing a user's uploaded pictures and it's corresponding thumbnails. I noticed Flickr uses filename distinctions like: http://farm5.static.flickr.com/1234/789456123a_s.jpg where _s.jpg describes the size of the image (_s.jpg = small, _m.jpg = medium...). However, does storing images like the following ...

Using css to display a variable portion of an image

I'm making a progress bar to show progress towards a donation goal. My image is shaped like a thermometer, with a rounded bottom. Here is the code I'm using to display the bar <div style="width: 179px; height: <%: 484 * Model.PercentToGoal %>px; background-image: url(../Content/Images/meter_fill.png); color: inherit; position: absolu...

Is there a cocoa framework for image scanning?

What options do I have for an image scanning framework on Mac OS X? I'm not looking for an OCR library. Just something that will do the actual scanning and importing to PDF or comparable format. ...

HTML question about modifying background

Hello, I am a beginner in HTML and am taking a Multimedia class for school. I noticed for many websites such as ESPN, CNN, Google, etc. that there was no direct image source for the entire background. How might I be able to incorporate an image for an entire background of a website? Thanks I appreciate it! ...

Export / Save Picture of Map + Overlays in Android

Is there a way (after the mapview has been created and overlays added) to save a picture of the mapview? I am writing a GPS app in which the customer needs to produce a report of where the user has been. The need to overlay blips to show the route traveled and then export the map and route to be saved as an image. ...

Can't source image from Wordpress (and Starkers Theme) index.php file?

I'm trying to put an image (logo.png which is in the very same folder as index.php) in index.php (line 23): <?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more...

c++ gdi image array

im trying to make an array of images Image something(L"something.png"); instead of that Image something[2]; something[0]=(L"something.png"); any idea ...

Why do emails not load images directly

Email providers like Gmail,yahoo,hotmail do not load images in the email directly. These services require you to allow the images to be laoded. Why do they do this? Is it to prevent XSS/CSRF? ...

webapp find image references .jsp files

There is 1000 images in web application, some of them are used and after time some of them are not being used but they are present in images folder. i want to search images which are not being referenced in my .jsp files i don't want to search 1 by 1 and finding their references into .jsp files, any utility which search all images at on...

Extracting thumbnail image from CGPDFPageRef

I am attempting to create thumbnail images for a CGPDFDocument. In the PDF Document Parsing section of the Quartz Programming Guide, there is the following code: CGPDFDictionaryRef d; CGPDFStreamRef stream; // represents a sequence of bytes d = CGPDFPageGetDictionary(page); // check for thumbnail data if (CGPDFDictionaryGetStream (...

how to insert a small image on the corner of a plot with matplotlib?

Hi, What i want is really simple. I have a small image file called "logo.png" that i want to display on the upper left corner of my plots. But you cant find any example of that in the examples gallery of matplotlib Im using django, and my code is something like this def get_bars(request) ... fig = Figure(facecolor='#F0F0F0',fig...

CKFinder image upload name

Hello! Can I influence (change) the image that's uploaded name? Thank you. ...