image

Image depending on the text in Python/Django

Hello, How can I find an image, depending on the text? I have image model with keywords: class Post(models.Model): image = ImageField(_('Image'), blank=True, upload_to='folder') keywords = models.CharField(_('Keywords'), max_length=80) And model which will serve as the search for a suitable image class TextSearch(models.Mod...

Warning generated by UIButton setting code

I have a for loop setting the background images on buttons, basically the buttons are thumbnail previews of different items & can't be set statically, however the code gives an warning because it runs through all the UIViews but then calls setBackgroundImage which does not apply to all views. The warning is an irritation, I understand wh...

Something like jQuery's .resizable but without the div's inside

Hi everyone, this is just a quick probe to see if this is technically possible. I'm wanting to enable the resizing of an image in the browser (also within a contentEditable area). Firefox and IE already allow this to be done with their inbuilt handles and it works fine. I'm wanting to implement something for Safari however because it do...

Send Automated Email through Windows Service that has an embedded image using C#

I already have a C# windows service that we use internally to monitor a directory on our network and when it detects a change sends off an email using our internal SMTP server to the specified groups of people. Now I need to embedd an image in that automated email. I understand that I need to create an AlternateView and a Linked Resour...

Can an image licensed under LGPL be used in print media?

LGPL seems to be targeted towards software modules. Is it safe to use an image licensed under LGPL in commercial print media? For example, as an image on a software box cover to be sold in stores that contains a CD. ...

Image upload process usability

Hey, this is more of a usability/design approach, rather than "how" question. It is html 5 and web 2.0 age, and I want more than just "select/submit" buttons. My question is regarding blog application: I want to have a nice way to upload and attach images to posts. Right now layout is simple: it has subject and body (for body I have BB...

Image Outlining Effect in .NET

I'm looking to accomplish the following effect in C#: Any ideas would be much appreciated. ...

[FLEX] Images won't dynamically refresh

I am writing a Flex application to receive xml from an httpservice. That works because I can populate a datagrid with the information. The xml sends image pathnames. A combobox sends a new HttpService call onChange. This repopulates the datagrid and puts new images in the folder that flex is accessing. I want to dynamically change the i...

Looking for an image rotator similar to WPF Carousel

Is there a good article or source code where I could find an WPF image rotator (moves automatically) similar to WPF carousel? I'm not really interested with DevExpress Carousel Control for WPF. I'm only looking for a simpler approach for this one. ...

Using Firefox to download xml word doc. Image won't show.

We have an xml word doc with image on title page that downloads correctly via ftp but the image is always missing if we try to download it via a link in an html page. We're using Firefox if that makes a difference. But we also tried it using Opera, with the same results. Here's the link we're using: $fileDest = './mydoc.xml'; <a type="m...

positioning image using css

hi, i really need to place an image somewhere in the page (100 pixels from the left side for example) but i want to control where the center of the image will be, when i use left:100px; , the image is positioned 100px from its left edge and not from its center... is there a way i can choose where the center of the image will be and not...

groff: can I embed images?

I'm generating some troff-style documentation. Is there a way to embed an image (jpg, etc) into a groff file? ...

How do you save images to a Blackberry device via HttpConnection?

My script fetches xml via httpConnection and saves to persistent store. No problems there. Then I loop through the saved data to compose a list of image url's to fetch via queue. Each of these requests calls the httpConnection thread as so ... public synchronized void run() { HttpConnection connection = (HttpConnection)Conn...

How to do drag-n-drop and resize on an image using jQuery?

How do I resize and image using jQuery but keep its aspect ratio the same? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>CrossSlide - A jQuery plugin to create pan and cross-fade animations</title> <link href="h...

image GD and png masking

what would be basic code for masking one image with another in GD - one image with black shape and transparent background would be used to crop another image - a photo so that photo is in the shape of black image. ...

convert color image into black and white image using php gd library

hi i m having a page in which users upload their images to convert into black and white image.. i tried some of the code from internet but it works only for jpeg image when i upload some gif or png images it shows an full black image or the same image with the same color scale... any codes appreciated.. regards vijay. ...

how to find passphrase in an image .jpg?

Is there any tool or software to find passphrases in an image like .jpg? or Should i use any programming in this regard, i googled but din't find any guidance? ...

Workaround for Outlook 2007 for wrapping text around image with margin?

As we all know, Outlook 2007 uses the Word 2007 rendering engine, causing endless grief when designing HTML email message. [Insert rant here] In particular, float, margin, and padding are - shall we say? - poorly supported. To simulate float so that text wraps around an image, apparently we can simply use: <img src="foo.png" align="ri...

create jar file with images and database

Hi I am using NetBeans IDE and I have my images (what I am using in my project) in a folder named Images. When I am building jar it doesn't take that images. The code I am using to set image is, buttonObj.setIcon(new ImageIcon("\Images\a.jpg") any help please. ...

How to generate Image at server side in java [ blob-> string_image -> *.png or .jpg ]

Hi All I want to generate image on server side. My Image is stored in server side's database in blob format and I am able to convert it into string_image; Then How to convert that string_image into actual .jpg or .png format. Actually I am posting attachment as image on users facebook' wall. How to generate Image at server side...