image

Curved Menu Tabs

I am trying to make rounded corners on a tabbed dynamic menu using Drupal ad the dynamic-peristent-menu module, (hence the dynamic-persistant style definitions in the code below) You can see the code and the menu is 99% right here: http://vpscentre.co.uk/sandbox/ Can anyone make my solution 100% correct and make it so the navi_top_right...

how to attach url link to an image?

Hi I am creating an website. It contains videos of different places. Now my problem is i need integrate an image on that with url link. when user taps on that link it has to go to that link. Even user downloads the video also it has to go to that link (same link above linked to image). thanks in advance ...

SISS loop through a result set

Hi, I am new to SSIS and SQL. I got a file with below format, need to download images to a folder usng SSIS package. http://content.etilize.com/Large/10077459.jpg Every day this file change. So I need to delete unwanted images from folder as well. Any code will be a greate help. Thanks ...

Drawing SVG images in wxWidgets

I need to be able to draw SVG images (with the ability to scale, and rotate the images by 90,180 and 270 degrees). I also want the ability of instead of rendering the images to a bitmap (e.g. for displaying), to be able to draw them into a new SVG image (exporting the "document" to SVG). wxWidgets does not seem to have any built in SVG...

Resize an Image C#

Hello there, As Size, Width, Height are Get() properties for System.Drawing.Image, How can I resize an Image object at run-time in C#. Right now, I am just creating a new Image using: Bitmap objBitmap = new Bitmap(objImage, new Size(227, 171));//objImage is the origional Image Thank you! ...

Storing a million images

I have a project that will generate a huge number of images. Around 1,000,000 for start. They are not large images so I will store them all on one machine at start. How do you recommended on storing these images efficiently? (NTFS file system currently) I am considering a naming scheme... for start all the images will have an incre...

Testing tool for browser/resolution issues

I just looked at my site (http://softserv.ca) on a laptop and the background images used along the top and top-right looked horrible -- very grainy and striated. It was IE8 on XP. I couldn't check the screen resolution, but it didn't look like anything out of the ordinary. I'd like to know what typically causes such striation, and als...

Linq to SQL EntitySet Binding the MVVM way

Hi everybody! In a WPF application i'm using LINQ to SQL classes (created by SQL Metal, thus implementing POCOs). Let's assume i have a table User and a Table Pictures. These pictures are actually created from one picture, the difference between them may be the size, coloring,... So every user may has more than one Pictures, so the a...

Android Gallery (view) video (also thumbnail issues)

Currently we have a Gallery view to which we need to add thumbnails for images/video. How do we get the already generated thumbnails (the ones that the native Gallery app shows) if we already have the image's/video's content:// URI? (We are using Android 1.6, Video.Thumbnails does not exist) ...

Compare two images the python/linux way

Trying to solve a problem of preventing duplicate images to be uploaded. I have two JPGs. Looking at them I can see that they are in fact identical. But for some reason they have different file size (one is pulled from a backup, the other is another upload) and so they have a different md5 checksum. How can I efficiently and confident...

Replacing Broken External Images With Custom Image

I'm looping through an array of URL strings of images hosted at an external site. It looks something like this: def get_image_urls image_url_array.each do |image_url| puts image_tag image_url end end Which will return the URLs of images hosted on the external site. The problem is, some of these images might be broken (404). S...

Smoothening the lines of the segmented image

Hello, I have a segmented image as shown. Is there a way to smoothen the lines so that it does not look so wavy? Thanks. ...

J2ME cache issue

I have to write a J2ME app to retrieve images from server and display in mobile phone. I have seen and test that Snaptu have a mechanism to cache image, event with 100 images (both normal size and zoom size). I wonder how they can do that? I though that those guys use rms to save image stream to data. But when i check in working folder ...

UITabBar images visible on simulator, disappear on the device

Hi all, in an iPhone app, I have a UITabBar with three tabs. One has a system image, two more have custom images. These are PNGs, 30x30, palette-based, mostly transparent. These images show up fine in the simulator, but on the device, all I see is a grey gradiented square on a tab. The shapes on these images are grey to begin with, but ...

Resize image size according to size of text

The PHP code below generates text as a dynamically created image, how would I be able to get the image to only be as large as the text? Thanks. <?php header('Content-Type: image/jpeg'); $text='Test'; $img = imageCreate(200,200); imagecolorallocate($img, 255, 255, 255); $textColor = imagecolorallocate($img, 0, 0, ...

upload image from iphone to the server folder

hi expert, i found few snippet from online to upload image from iphone to the server folder, its showing to use server side scripting eg. use php at server side if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { echo "Uploaded!"; }else{ echo "Not Uploaded!"; } /> is it any possibilites to upload image...

Error in jpeg(a_paste_function) : too many open devices

I am trying to output about 250 plots from an r-script and I'm receiving this error. Is there some setting that I can adjust to avoid this problem? Here is an example of how I am creating the plots: for(x in 250) { plots <- ggplot(data=dat, aes(x,y,lab=labels)) jpeg(a_paste_function) print(plots) } One thing I notice is that, whe...

Random image using javascript, not reloading image from cache.

Hi all, Im working on DotNetNuke BTBRandomImage module and this a custumization of the module to randomly change images on a timer based event. This has been implemented using javascript. But the problem is evertime when the "src" of image is changed it requests the image again from the server. This increases the number of http requests...

ImageView and TextView float (left/right) Android

Hey, I am searching for a way to position my text around my imageview (so like the css float left/right). How can I do this in Android? I have used android:layout_alignParentLeft="true" (to position my imageview left) and android:layout_alignParentRight="true" for my textview but the textview comes next to the imageView and doesn't cont...

Create a thumbnail with PHP

I have a page which lists a load of portfolios. I am trying to write a script which will look in a specific folder of images (the projects image folder) for a image called portfolio.jpg. When this image is found the image would be resized to a specific dimension keeping its filename the same. Then obviously the next time this script...