Hello,
I created a custom background image and wanted to use it as the background for a layout that has height of wrap_content. However, the total height of the contents of within that layout are much less than the height of the background image.
When I set it as the background in XML via android:background="@drawable/image", I notice...
I need to provide website visitors a link to download an original high resolution image. If I simply link to the image with a href="image.jpg", the browser displays the image. How do I make the browser download it?
I'm using amazon S3 to server these images... If this requires having a special header set on the image, I'm sure it's po...
I want to Upload picture to my web server.
$newname = dirname(__FILE__).'/upload/'.$filename;
The code above would add my picture to folder like this:
www.something.com/admin/upload
How could I get my file to the correct folder:
www.something.com/upload
As you see, it should go one forder back.
The complety code is found on:...
Both of the following JSTL checks return positive - resulting in the inner message being displayed ("image not null"/"image not empty") - even when the current record does not have an image associated with it.
<c:if test="${rec.imgdata != null}">image not null</c:if>
<c:if test="${not empty rec.imgdata}">image not empty</c:if>
The im...
I have a webview that displays an image, as shown in the code below. The bundle also has a [email protected] with dimensions of 128x128 for use on the iPhone4. The [email protected] never shows. Is there a way to display either/or depending on whether it's an iPhone or an iPhone4?
<img src="DGT64.png" width="64" height="64" align="left" style=...
I have an app that contains a picture gallery when one of the items in the gallery is pressed, the item clicked views as an imageview fullscreen. WHat I am then trying to do is allow the user to select whether to download the imageview to the phone or set it as a background...is this possible? How would I go about this? Thanks!
...
I want to set div background image
div(w:932, h:148) and the image size is 1524*587
whan I trying to set it image is not getting fit to the div size what should i do? my code-
.header .logo { width:932px; height:148px; background:url(images/logo.jpg) no-repeat center;}
...
This is my actual code, I have troubles related with the right visualization of the gif image generated on the fly for my php script. If I access directly to the gif image generated by the script the browser show it good but if I try from my current script through tag img, the browser couldn't show it.
Any suggest friends ?
<?php
$src ...
I'm trying to display dicom image using openDicom.net. What should i correct here?
openDicom.Image.PixelData obraz = new openDicom.Image.PixelData(file.DataSet);
// System.Drawing.Bitmap obrazek = (Bitmap)Bitmap.FromFile(element);
pictureBox1.Image = obraz;
pictureBox1.Show();
...
How would code this in css and html? Should I do it with absolute? Or float it somehow? Any Ideas?
...
We can view an image with code:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File("/sdcard/test.jpg");
intent.setDataAndType(Uri.fromFile(file), "image/*");
startActivity(intent);
What if we have some images? How can we put the extras to let the viewer know we have
/sdcard/a...
Hey all,
I am updating an app to have high-res images to be displayed on the new iPhone 4. My original images (in a UIImageView) were 100 by 100 pixels, so I updated my new images to be 200 by 200 pixels.
I know about the @2x convention, but my images are not stored locally in my project - they are retrieved from the web and being used ...
How can I convert single channel IplImage (grayscale), depth=8, into a Bitmap?
The following code runs, but displays the image in 256 color, not grayscale. (Color very different from the original)
btmap = gcnew Bitmap(
cvImg->width ,
cvImg->height ,
cvImg->widthStep ,
System::Drawing::Imaging::PixelFormat::Format8bppIndexed,
(Sy...
I want to download image from distant server and use it as resource.
Is it possible ?
How can I do this ?
...
Working in WPF and C#, I have a TransformedBitmap object that I either 1) Need to save to disk as a bitmap type of file (ideally, I'll allow users to choose whether it's saved as a BMP, JPG, TIF, etc, though, I'm not to that stage yet...), or 2) Need to convert to a BitmapImage object as I know how to get a byte[] from a BitmapImage obje...
Hi.
What component is used for uploading images,when ask question in Stackoverflow:
Is it third-party or WMD editor part?
On official wmd editor site(wmd editor site) in demo it's visible, that uploading is possible from http external:
...
How to sharpening an uploaded image in PHP ?
Is there some PHP libraries ? What is the best ?
...
I'm implementing the lazy table images algorithm similar to how facebook does. I got this from an example given by apple: http://developer.apple.com/iphone/library/samplecode/LazyTableImages/Introduction/Intro.html
It works fine up until I start getting memory warnings. My images are stored in a dictionary, that links up a key to an ima...
All,
I want to ensure that a certain directory on the SD Card is not searched when my client app launches an intent to choose a picture from the library.
I start the Intent like so:
private static final int TAKE_PICTURE_FROM_LIBRARY = 2;
private static final Intent takePictureFromLibraryIntent = new Intent(Intent.ACTION_PICK, android....
Hi!
I am working on 'About" section of my iPhone application.
I want to show some of the contributors details as a standard ABUnknownPersonViewController view.
I am creating person view using simple 'school' code:
ABRecordRef aContact = ABPersonCreate();
ABMultiValueAddValueAndLabel(email, @"[email protected]", kABOtherLabel, NULL...