Hi All,
I get a file not found error when I want to display an image.
The error is right, the file is not there in my development environment (its an image uploaded by a user). But It should not raise this error because what Im doing is just appending some img tags in a stringbuilder with a reference to the particular images. So im just...
Hi,
Lets say I have a non-square image..
If I increment the width and I recalculate the height according to the incremented width (ratio), sometimes I get xxx.5 (decimals) for the width
ex.: width = 4, height = 2
I augment the width with a factor of 1.25 I'll get : width = 5
Next, the height will be : heigth = 2.5
How can I determine...
Hi guys
I am attempting to overlay images on top of a background image using the standard java utilities. See the pictures below...
I have code that seems to create the background image (can you verify that it really works?)
And I have created an extension of JPanel that I use to display images (the class is called ImagePanel)
However...
I'm building a website photo gallery for a friend. Images are loaded as simple DOM image objects (<img src="" />), and the size of these images is based on the browser size. So I resize them with CSS.
This isn't an optimal solution since CSS resizing seems to change the quality of the image and pixelate it quite a bit. I was thinking o...
Is it possible to set transparency of any image in javascript?
And how can I do that?
...
Hi, the title and the example says it all. I'm looking for a way to make the thumbnail places look good instead of those partly empty spaces around the images.
...
This question is related to my previous question http://stackoverflow.com/questions/2376027/how-to-generate-cartesian-coordinate-x-y-from-gridbaglayout
I have successfully get the coordinate of each pictures, however when I checked the coordinate through (System.out.println) and the placement of the images on the screen, it seems to be ...
Silverlight newbie question:
I've got a small Silverlight application with the following XAML snippet:
<Image Source="http://judahhimango.com/images/smileys/cool.gif" />
The image doesn't show up! I would expect the image to download asynchronously, then show up in the UI, but alas, no such luck.
What am I doing wrong?
Update -----...
I have a group of images in this format:
<ul id="photo-list">
<li><img src="" /></li>
<li><img src="" /></li>
<li><img src="" /></li>
</ul>
My goal is that once all the images have finished loading, then #photo-list will fade in. Also I would like to display a loading animation before the images are loaded. Any help is appreciat...
Hi,
I'm looking for a way to use a part of a picture to use as a thumbnail without actually resize the image.
It's like you capture a part of the picture and show it as thumbnail
...
Hi all, sorry for the confusing title, its really hard for me to explain what i want. So i created this image :)
Ok so the two RED dots are points on an image. The distance between them isnt important.
What I want to do is, Using the coordinates for the two dots, work out the angle of the space between them (as shown by the black line...
How can I place an image within the cell boundary?
I mean without taking the space of other cell?
In the code below, random cells were selected to display images. One image in one cell.
The problem is that, the image seems to take other cells as well.
...
setPreferredSize(new Dimension(600,600));
final int ROWS = 6;
final int COLS ...
I've found a method on the Internet to convert RGB values to HSV values.
Unfortunately, when the values are R=G=B, I'm getting a NaN, because of the 0/0 operation.
Do you know if there is an implemented method for this conversion in Java, or what do I have to do when I get the 0/0 division to get the right value of the HSV?
Here comes ...
Hi Guys,
I am using a preview script via http://cssglobe.com/lab/tooltip/03/
The problem is that when I use SRC tag in this script - I get a big fat red X - in IE7 BEFORE the image is rendered. Once the image appears - all looks ok.
Is there anyway to "hide" this before its loaded or something ? Love an help anyone can provide.
...
I need to resize and crop to exactly 60x80px from various size and
aspect ratio. Just before i put into Datastore. Anyone already got
this issue resolved.
Currently i already succed to just transform it to exact height (80px)
with various width which nott look so good when i try to display it on
a list. e.g jcaroussel.
My db.put code i...
If i have "img" element id = "myimg".
Is posible to add link to "img" without edit html page using jQuery
<img id="myimg" src="image.png">
I like to make "myimg" have link like this.
<a href="test.html"><img id="myimg" src="image.png"></a>
Thank you for reploy.
...
when the on the form and specifice control is fixed then after 2 or 3 refresh is compress and goes out the main page asp.net
...
Can anybody provide simple steps of "Skeleton Pruning by Contour Partitioning with Discrete Curve Evolution" Algorithm
or c++ code i have document if some one is familiar simple steps of the algorithm
...
I got a website which contains a lot of projects with each project containing a sidebar.
In this sidebar it is possible to attach images to a project. The images attached will be shown in a gallery with 3 small thumbs at the bottom and one bigger image at the top of the gallery. The big image will refresh to another image when a visitor...
I have tested this servlet and it works well, except in Google Chrome it jsut doesn't display image. What could be wrong in this example code that makes Chrome not to display image?
http://balusc.blogspot.com/2007/04/imageservlet.html
...