image

SVG <image> doesn't work in <defs> on Chrome

I want to use image in a group definded in defs tag. But on Chrome nothing works. In Firefox only the .png file is displayd. Only Rectangle apears but with strange bug in Chrome. Is this is supported by SVG or im not using it right. plane.svg <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://...

Resize and Center image with jQuery

Hello, Looks like I haven’t explained myself well. I do apologize for that. I have edited this question to make it more clear. The scenario We have a website that doesn’t host the images. What it does is a reference to an image in other server. The plan Resize images keeping proportions. Center resized images. Flexible so it c...

how to add click event on image area on flex?

Can i create img map and then add several click event? for example this img- I have 4 area for event top-left, top-right etc. How i can do this? I need something like tag map on HTML. ...

Adding image from project space in C# xaml.cs

Hi guys, This is nothing short of embarrassing to ask but I'm having no luck with searches today. I have an image plane.png which I have added as an existing item to my project "Rem". I have map.xaml in this, but since I want to add multiple "plane.png" images to this, I am trying to create them in map.xaml.cs The XAML code to do what...

Dynamic Text into an Image

Hello, I would like to generate an image from text that I get from a database. I know how to do that no problem, however where I need help is how to dynamically shrink or grow the bounds of the image based on how much text there is. I will not know how much text there will be in the database column. Is there a way to wrap text in a gener...

OpenGL ES 1.1 image rotation from its center

Hi there! I'm trying to rotate a 2D image using OGL ES. After load it I can move it through the screen but when trying to rotate the image through its center, it has an odd behavior as the rotation center is the lower-left screen corner, not the center of the image itself. Googling around I've read that I could push the current matrix,...

How to protect against direct access to images?

I would like to create a web site with many images. But I would like to protect against direct access to images, e.g. direct links to images without visiting the web site. What is the preferred way to do this? And what are the alternatives with Pros and cons? I have some ideas (I don't know if they are possible): File permissions PH...

MATLAB: How to change color of imhist and size of window?

I have: img = imread('pic.jpg','jpg'); r = img(:,:,1); g = img(:,:,2); b = img(:,:,3); subplot(3,1,1); imhist(r); subplot(3,1,2); imhist(g); subplot(3,1,3); imhist(b); How can I change colors of the histogram to Red, Green and Blue? How can I change size of window tha appears? EDIT: Luis Miguel's answer regarding size of window work...

Drupal Image Attach only need 2 image sizes for my content type

When I use image attach it's creating too many extra images that I don't need. I created a content type called "content_area_4" with Image Attach allowed. I then created an image size called "content_area_4_thumbnail" with a Scale & Crop of 160 x 130. When I go to create a node type of content_area_4 with Teaser image size: content_area_...

Changing Image in Image button field(template field) in a datagrid view

Hello, Just wondering if anyone has ever managed to find a way to have a datagridview image button column in a template field which display different images on different rows depending on some data element in the row. Our application needs to display a series of fees charged against an account column which will be either less then 500,...

Load image dinamically into asp:Image control

Hi, I'm using an asp:FileUpload control to give the user the chance to look for an image on the hard drive, once the user has chosen the image, after a button is pressed, I want to display the image in an asp:Image control. I've been trying to get the full path of the file but I can't get it, I'm using Path.GetFullPath(FileUpload.FileN...

Insert text or Edit Image in iPhone

I am stuck with this problem and not getting any idea about this.? I do have some images in the application, and I want to insert some text in to that images which I take as input from the user? I don't have any idea how to accomplish this task? Is it possible or not. Basic Idea is : I do have images in to the application resources. I...

Resizing SVG image in MediaWiki

We display SVG images in MediaWiki using a template with this code: {{#tag:svgfile||src={{{1}}}|height={{{height|300px}}}|width={{{width|600px}}}}} where {{{1}}} is the uploaded file. Now we want to be able to rescale the image, just like we do with JPGs, etc, using: [[Image:<file name>.JPG|200px]] Does anyone know how to do that?...

how to change the title bar image in IE browser

i have to change the internet explorer icon in the title with customized image not the one which appears on the address bar. ...

Changing image in image button column in a datagridview

Hello, Just wondering if anyone has ever managed to find a way to have a datagridview image button column in a template field which display different images on different rows depending on some data element in the row. Our application needs to display a series of fees charged against an account column which will be either less then 500,...

Where do Google Maps/Bing Maps get their satellite imagery from?

Hello, my questions are: 1.i just wanted to know that from where google and bing got the complete earth images or satellite imaginary? 2.is it possible to get data like that for a individual person? i found a question about google maps working at stackoverflow but it doesn't answer my question. -Thanks in advance. ...

IE6 javascipt on click image swap problems

On my webpage I have images that function as checkboxes (image switch and set hidden form property value). It works in every browser except IE6. Does anybody have a clue what is causing this problem? The code: function flip(element) { var formElement = document.getElementById(element + "Form"); var imgElement = documen...

PHP JPEG Crop : Loss of quality?

Hi all, I'm developing a web-to-print, poster printing application. I'm considering using PHP to crop user-uploaded images, and we will ultimately print the PHP-cropped image. My concern is there will be a difference in 'quality' between the original user uploaded image, and image after it is cropped by PHP. Will PHP affect the quali...

Piwik: generate a counter image to display it on external sites

It is possible to generate a image (php gd) with a count of visitors of my piwik tracked site. I want Embed a flag counter in a external site. On this page iframe or flash not allow. so i can't integrate the normal piwik widgets ...

Image display problem on Blackberry device

I am downloading an image(png) from Network and trying to display it on the screen. I get the image to display properly on the blackberry simulator(4.5) , but when i download the same image on device its all messed up. Here is the code i am using: connection = (HttpConnection) Connector.open(url + getConnectionParameters()); conne...