image

Change background repeat image with JavaScript

I'm trying to create a script that changes the repeated background image of an element, on the mouseover event. Unfortunately it does not work properly. I have found several possible ways to do this with JavaScript but none of them has worked for me. How can I solve this problem? The following piece of code is not working properly: ...

Dynamique image of a view inside a button

Hi, I would like to add an image inside a button,but this image shows the current view of one of my views. If anyone knows how to do. Thanks a lot. ...

Comparing two ByteArrays C#

I have a test that uploads a bytearray (image - jpg) to our database (Sql Server FileStream) and then retrieves it through a HttpHandler. Next I compare the two. Now, they are almost the same except for the first four bytes... What's in those first four bytes? First byteArray : 255, 216, 255, 224, from here on they are the same Secon...

Add variable to jQuery src attribute

I have a script that I reuse in lots of different places. The script has several image paths specified, and I want to make it easier to implement by setting one 'path' variable at the start then calling the variable in place of the full url. e.g. jQuery(document).ready(function($){ var path = "http://www.mydomain.com/images/"; $(".me...

C# Simple Image Resize : File Size Not Shrinking

I have a question in regards to the code below. The code I have below successfully runs through a directory, and sets the resoultion of the picture to a smaller size. However, the file size is not changed. For example, an image with dimensions of 2400x1800 with file size of 1.5MB will be scaled to 800x600, but the 800x600 picture will...

Overlay thumbnail with remove image button?

Hi All i need to create a remove button that appear over my thumbs when a user hover that image with his mouse a link appear like remove from favorites ? anyone know how to achieve this ? an example of what i want is youtube quick list button u find over the videos thumbs .. http://i50.tinypic.com/fxdu2b.jpg Please help me if you kn...

List with 400 items + images

What is the correct way for building a scrollable list with images that will be able to dill with 400 items? Should I use UITableView for these? What is the correct way for storing and retrieving the data? SQlite? Thanks- Nir. ...

jQuery fadein image on change then fadeout on load

I have some simple image slider that I've made. I have list of small images, and whenever one of them is clicked, I replace source of target big image with clicked (+ some manipulation with src to get bigger image from server). Now I want on small image click to fadeout big image, and when new image is loaded to fade it in. Tried with ...

Gluing a number of PNGs together

I am building a new icon set for a CKEditor skin. The skin requires the icons to be one huge PNG file, where they are stacked underneath each other. The buttons then use the PNG as background image and define different y offsets to get the right image. I have many separate icons in PNG format that I need to glue together into one such P...

VB 6.0 SavePicture Method Problem

I am using the following code to save an image created on a Form to a bitmap file: SavePicture Form1.Image, Output_Dir + Patternname + ".bmp" DoEvents Now the image created on the form is a 1600x1200 pixel image (which looks correct); however, when I save the file using the above code the image is always saved as a 1920x1200 pixel bi...

Is there a way to have a Codeigniter controller return an image?

Hey, I was wondering if there was a way for a controller to, instead of returning a string, or a view, return an image (be it JPG, PNG etc). For example, instead of ending with a $this->load->view('folder/special_view.php), I'd like to do something like $this->load->image('images/gorilla.png'), and have it so if my user were to go to t...

Ken Burns Effect on actionscript3

Hi, I want to develop a zooming effect like this gallery: http://www.monoslideshow.com/ Can anyone give me a hint? I'm not sure about the math that i have to do for getting something similar Thanks in advance ...

I want to use the same image more than once and I would like the web browser to download this image only once, how to do it?

I want to use the same image more than once and I would like the web browser to download this image only once, how to do it? ...

How to make same size image in <td>, but image diffrent size

I have many images to showing in to the <table> or <td> How to make same size image in <table> / <td>, but image diffrent size. for view My site click here : promolagi.com Thanks. ...

PHP image file upload uppecase extension problem.

Hi, I've a php script to deal with uploaded images. it works fine if i upload a file like file.jpg. But i got trouble if i try to upload file.JPG. Even if its the same file renamed. The code: if(isset($_FILES["arq"])){ @getimagesize($_FILES['arq']['tmp_name']) or $err=5; ($_FILES['arq']['error']==0) or $err=$_FILES['arq']['error...

CSS Sprites showing broken image icon over image, but hover still works.

I can't figure this out..hopefully someone else can. I have an image button . The hover effect works fine. However, I have the IE broken image icon over the button image. Lookie here: Funky Image Funky Image Hover As you can see...they both work except for that annoying broken image. Here's my CSS: .donate-btn{ background: transp...

How to fill a varbinary(MAX) column with a default image for all the records in SQL Server 2005 Express

I want to fill the varbinary(MAX) column of a SQL Server database table when ever a new record is created with a default picture. How do I do this using a trigger or in that case by any other means? Any help is highly appreciated. Thank You This is the T-SQL code I have tried: SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER TR...

Methods to create text preview from a font

I'm currently using ImageMagick's convert command to create text preview (.png) from .ttf font file. Overall, it's better in auto text positioning despite it failed to read some valid .ttf file sometimes. The speed is not great but acceptable. PIL's ImageFont looks like is not good at text aligning, often prints bottom-left corner of fi...

(crystal reports) How to decrease RPT file size

Hello all, I'm trying to decrease size of my rpt file. The problem is in image. When I remove image, file is about 50KB size large. When I add image, it increases to 600KB. I reduced resulution of my image. It has only 12KB. I tried to use JPG, PNG, TIFF. With bigger image, size of rpt file is growing (for 200KB image it is about 2MB r...

Sending an email with an image embedded in the body from C#

Hello, My problem is how to send an email with attachemnts to the default mail client programmatically. My requirements are: setting destination, CC, BCC link to attachment(s) adding and image like a banner in the message body I succeded to compose an email in the various ways and adding attachments are not the problem but adding a...