image

How to use an image for a border in CSS

I want to set the border of a table to be "1px solid black" except on the bottom, where I want to use an image which provides a pointer into the link - as a visual aid. Is it possible to set an image as the bottom border when the other borders are regular css. ...

extjs load image in TreePanel

Hi, i created a Ext.TreePanel and i would have in the node an image, in the text of the node i have the url to the image but i can't load it in the page, i see only the text, there is the possibility to view the image? this is my code var root1 = new Tree.AsyncTreeNode({ text: 'Legenda degli starti PAT', draggable:true, // disable ro...

Remove last characters in a XSLT string

Hi there I have an issue about XSLT. In my CMS it is posible to create a new article, and choose an image to be shown on that article. When an image is choosen, there will automatically be created a thumbnail of the image as well. If we say that the uploaded image is called: image.jpg then the thumbnail will automatically be named imag...

How to load big images in Java

I am trying to load big image files in Java and i am getting a memory error message if the file is too big ( i have already tried increasing the heap size by the command line flag). I am loading images with the following way : If the image is not a tiff image i am using this code: BufferedImage img = ImageIO.read(fileToOpen); And i...

[iphone] How to rotate image around center point automatically with finger touch

On iPhone, how to implement rotating image around the center point using finger touch ? Just like wheel, if you put finger on the iPhone screen , then move suddenly, then the image becoming rotating around center point just like the wheel, after a while, it becomes more and more slow , finally stop. Who can help to give some pieces of ...

Where can I find free pictures for game?

I am developing a game. To test my map engine, I need pictures of 8 directions character walking. As a programming, it is not too difficult to write program, but it is a big problem for me to draw pictures. So my question is where can I find some free pictures for game developing? Pictures should be free because I might release some demo...

Cannot paste an image from clipboard to MS Word

I have an asp.net/C# web application. I have an image steaming .aspx page to render images. I have to copy an image to client's clipboard. So I first load the image in a hidden image box and copy it to clipboard by using javascript command ctrlRange.execCommand('Copy'); Image does copies to clipboard. It can be pasted in MSPaint. But i...

Silverlight Image Loading

I'm a beginner just beginning to work with Silverlight with a very basic question. I want to display a .png image. I have already done it in the page.xaml file but I would like to do it in code (C#) so that I can add and remove images while my program is running. I have seen some code in which you add an image to the Children of a Canvas...

Can sIFR work with Smarty templates?

I have WHMCS installed, and am editing the templates (Smarty). I cannot get the sIFR js to work. I have read all the relevant questions here, and I've read the tutorials on sIFR v. 2 and v.3. Right now I'm on hte latest nightly build with sIFR so that I can use the font. I did however, generate the font online stead of using a flash ...

How do I grab an instance of a dynamic php script output?

The following link outputs a different image every time you visit it: http://www.biglickmedia.com/art/random/index.php From a web browser, you can obviously right click it and save what you see. But if I were to visit this link from a command line (like through python+mechanize), how would I save the image that would output? So basical...

Revealing an image bit by bit?

I'm trying to get it so, every time someone donates a set amount on a page, another equal portion of an image is revealed. I've got most of the other logic down (PayPal provides nice unique "you've donated" identifiers and such), however, I'm having trouble with revealing the image bit by bit. I tried breaking up the image into small c...

No images displayed when website called from self written webserver

I have Java webserver (no standard software ... self written). Everything seems to work fine, but when I try to call a page that contains pictures, those pictures are not displayed. Do I have to send images with the output stream to the client? Am I missing an extra step? As there is too much code to post it here, here is a little outli...

How to add image and text together in iPhone Navigation bar

any help i am truly appreciated it Thanks ...

How can I detect the file type of image at a URL?

How to find the image file type in Perl form website URL? For example, $image_name = "logo"; $image_path = "http://stackoverflow.com/content/img/so/".$image_name From this information how to find the file type that . here the example it should display "png" http://stackoverflow.com/content/img/so/logo.png . Supposer if it has...

Send Headers + Display Image

I don't think this is possible but I'm going to ask here and see what people think. Programming language is irrelevant (I'll use PHP for this example), I just would like to do this someway. I have a file on one of my domains (different server) and in a PHP file (for example) I need to somehow inlude that file (probably using header(Loca...

Image.SetResolution results in A generic error occurred in GDI+

Hello! For some reason if I call on a 600 dpi image: myImage.SetResolution(72, 72) It gives me "A generic error occurred in GDI+". Moreover, if I try to create a new 72 dpi bitmap, create graphics object from that and use DrawImage to draw original 600 dpi image in the graphics object created from the new bitmap, I also get this err...

Apache .htaccess hotlinking redirect

I am trying to create a redirection when someone hotlinks images in one directory on my site. If someone hotlinks an image, I want to redirect them to a corresponding image (same file name) in a different directory. If someone hotlinks: www.mydomaoin.com/PlayImages/Basic/Embedded/{ImageName.gif} I want it to redirect to: www...

How can you determine the file size in JavaScript?

I help moderate a forum online, and on this forum we restrict the size of signatures. At the moment we test this via a simple Greasemonkey script I wrote; we wrap all signatures with a <div>, the script looks for them, and then measures the div's height and width. All the script does right now is make sure the signature resides in a pa...

Word Automation: Replace an Image using C#

Hi - I'm trying to change text and images in a word document using c# and word automation. I've got it working fine for text where I do something like the snippet below, but I don't even know how to start for replacing the image. Any help is greatly appreciated! Oliver using Microsoft.Office.Interop.Word; ... private static Applicat...

C++ Cross Platform Image Loader for OpenGL

I have tried everything from SDL to DevIL, and they have all failed for various reasons. SDL segfaults for various reasons, and DevIL is having some weird problem where even after i include IL/ilut.h and linking everything, and including the other headers, it is not defining the functions i need to load images into opengl textures (som...