I would like to have an ordered list that has the text on the left and an image for each li within it on the right of the li. So I floated the image to the right and it puts the image correctly on the right and text on the left, but the image is 14 pixels too low in IE and FF. Chrome does it right (see images below). This appears to me t...
ok so i have a folder that was created after this answer was used
so now i have a folder with with many folders in it
each one having images and a .txt file
the images are almost all .jpg
so now i want to display a image from each folder, using php
i want to display the first image from each folder, and if there is no images i want t...
<?php
foreach (glob("*.jpg") as $filename) {
echo "$filename size " . filesize($filename) . "<br>";
echo '<img src="'.$filename.'" height=150px><br>';
}
?>
using that code, i am able to display all the images in the folder
i want to display only one that meets a size parameter, and if there are more ignore them
basically want ...
Alight so, I am working on a small section of a project and I am uploading an image and then copying it to resize afterwards. What is happening is that when I click submit to upload, it fails, but if I hit refresh/resend the info it succeeds...
$uploadFile = $uploadDir . $imageName;
$imageName2 = $front[0]."_large\.".$front[1];...
Hi there,
I am developing an ASP .Net MVC application and on my dev machine, the application runs as expected and, more importantly, the images mentioned in the CSS file are displaying correctly too.
However, when I publish this application to a testing server, the web app runs fine, but the images are not shown.
If I modify the URL i...
I have a website that makes heavy use of Ajax. Occasionally I need to load large image files on the page for the user. My question is, when these large image files are being download, is there a way to stop them if, say, the user navigates away from the page displaying the image? Thanks.
...
Hi guys I ran the analyser on http://www.websiteoptimization.com/services/analyze/ and I got a number of issues the most prominent are the ones below:
*TOTAL_OBJECTS - Warning! The total number of objects on this page is 93 which by their number will dominate web page delay. Consider reducing this to a more reasonable number. Above 20...
I have a function which extracts a file into a byte array (data).
int contentLength = postedFile.ContentLength;
byte[] data = new byte[contentLength];
postedFile.InputStream.Read(data, 0, contentLength);
Later I use this byte array to construct an System.Drawing.Image object
(where data is the byte array)
...
I`m using Card Five ID Printing Software for ID Card Printers. It is card design software, and I want to print cards with data that is stored
in MSSQL Server database. The problem is with storing photos of employees. I tried different formats JPG, BMP and I used binary reader from C# to populate image filed in my database.
I would aprec...
Hello Flexers,
I have what seems a straighfoward situation:
I update the source property of an image, when the image is loaded i want to redraw the border skin to fit the new size of the image.
newImgEdit.addEventListener(Event.COMPLETE, loadImgComplete);
newImgEdit.source = myurl_ressource;
private function loadImgComplete(evt:Event...
For a thumbnail-engine I would like to develop an algorithm that takes x random thumbnails (crop, no resize) from an image, analyzes them for contrast and chooses the one with the highest contrast. I'm working with PHP and Imagick but I would be glad for some general tips about how to compute contrast of imagery.
It seems that many thin...
I'm making a simple rss reader for the iPhone. The feed (http://feeds.feedburner.com/foksuk/gLTI) contains a reference to images that I want to show in my TableView.
By default, as far as I understand, the iPhone only tries to load images when they are needed: it will only load the images for the rows that are displayed. Only when the us...
I have a regular HTML page with some images (just regular IMG HTML tags). I'd like to get their content, base64 encoded preferably, without the need to redownload the image (ie. it's already loaded by the browser, so now I want the content).
I'd love to achieve that with Greasemonkey and Firefox.
...
I keep e.g. buttons for my applications in GIMP xcf-files, with different elements of the image in layers. This provides a nice consistent view of the button and it is easy to replace stuff, such as the button background.
From a single xcf I generate a number of "compiled" images, i.e images with different subsets of the layers merged.
N...
I was wondering if anyone knew how to duplicate the 9-slice functionality of Flex/Flash in WPF and VB.Net. I have used 9-slice scaling many times in Flex and it would be a great asset in WPF. I would like to be able to have an image as my background of a Canvas and have it stretch without ruining the rounded corners. Please, does anyone ...
Hey, I'm currently trying to send an image file to a web server using a web request, a memory stream and an image object.
This is my current method for sending the request:
public void Send(Image image)
{
//Assign the request here too, just in case
Request = (HttpWebRequest)WebRequest.Create(FormURL);
R...
I have links on a homepage that may or may not have attachments associated with them. If the links have attachments, then an icon will be placed next to the link. The icon will only be there if the link has an attachment.
protected void Page_Load(object sender, EventArgs e)
{
foreach (Image pic in imgAttachment)
...
I would like to know exactly how to dynamically use a Dictionary Resource in the C# code behind - ie.. I would like to load images at runtime from an image resource within a dictionary
I have a program that has 3 images in a WPF Dictionary - these are images set as image resources.
Then in the code behind of my WPF Window I want to loa...
I need to create a slide show of some images that can go full screen so it can be displayed via S-Video out.
The software is delivered via the web so a web-based option is needed.
The list of images is dynamic, and I would like to show them in order. The list of photos can change while the slideshow is running, and I would like to add...
I have an application which will support several standard operations
play
stop
pause
undo
I'd like to have images for those buttons. I've been searching through vs2005 image library but the images there are non consistent. For example the play button (playhs.bmp) is green while stop (stophs.bmp) is blue.
Also I haven't found an und...