How to make text and image responsive withe larger and samller screens - responsive-design

I wonder how to make this pages text and image responsive and stick in place when I have a bigger and smaller screen.
This is my first GitHub post don't hate, I'm open to help criticism, let me know if my post / question is wrong.


How do I go about designing a background image for a responsive website?

I've been looking around all day for an answer or a guide but I can't seem to find anything. I may be missing a key word here.
I have a single page website that I would like to design a background image for in photoshop. I would like to be able to design this image around the elements on the webpage. This wouldn't be too hard to design for one specific screen size, but the positioning of elements and the width of the screen can change dramatically from device to device. I only have two ideas of how to go about this, neither of which seems like a good method:
Create a background image that ignores elements on the page and doesn't have too much detail on the right/left to get chopped off on mobile devices.
Create a separate background image for each device size and use media queries to load the correct image.
Is there a better way to go about this?
Here is an example screenshot of the kind of background I'm talking about:
Lets address this: "How do I go about designing a background image for a responsive website?"
Obviously, there are more than one correct answers to this question. The simplest solution (IMO) would be to create a high-res image that is abstract and thus won't appear amiss if parts of it are chopped off as screen size becomes smaller. The background image on the site you posted is using this method. The wood paneling results in a design that is irrelevant to screen size.

Webmatrix - webimage crop then resize

so i want to make sure that all the images that users upload to my website are the same size.
The size that i want to achieve is 620px x 405px
Because i don't want any white space in my images, and i want to keep the aspect ration, i'm guessing i'll need to crop first, before i resize?
So far i've got the following code:
photo.Resize(width: 620, height:405, preserveAspectRatio: false, preventEnlarge: true);
But obviously this isn't giving me the desired affect.
i ahev seen other articles online where they do some formula, but i can't get any to work for me. Has anyone got experience in doing this?
Thanks, Gavin
Suppose someone uploads an image which is 1020 wide by 405? Which bit do you want to keep? The left hand end? Right hand end? The middle bit? Then the next image is 3000 x 3000. Now which bit do you want to crop? Perhaps this one needs resizing before cropping otherwise you might only get a window.
My recommendation is to allow the user to specify the crop area, and then you resize the resulting cropped image. There are a number of jQuery plugins that enable client side cropping. I've written about jCrop ( but I have also received some feedback that it is not reliable in some versions of IE (although I haven't tested that myself).

How to find if mouse click is on an image rendered in a wf panel?

First let me say I love this site and often find the answers to my questions before I ever have to post. Now I have a question that I can't seem to find an answer to. Let me also mention that I'm somewhat new to programming and have only been doing it a few months.
With that out of the way here is whats going on.
I have a panel with a system.drawing graphics attached to it so I can render out pictures.
With these pictures that I render to the panel I want to be able to move them around, and then interact with them with and rotate them. Kinda like a jigsaw puzzle.
I can get the images to render, but need a way to tell if my mouse is over the picture that was last rendered in that location. Since an image might render overtop of another image I want to get the top/last rendered image.
Currently i have the images in a list that get rendered and I do have a couple of ideas of my own.
On a mouse click I scan all the image list last to first and find one that is currently being rendered in that spot and that would be my image.
Re render the screen last to first and as soon as a pixel changes where my mouse is that is my image.
Assign each pixel a image value and when rendering the image the pixels that are on it get assigned that image and the mouse can just pull that image.
Any help or feedback would be much appreciated.
Thank you.
The method you use will probably be largely dependent on your application. Without knowing much about what you're trying to do solution 3 seems the best.
With option 3 the majority of the work is being carried out as you add each image (i.e. assigning its value to the pixels it covers). The other options are are probably going to be less computationally expensive when you add the images but more expensive every mouse click. Assuming that this suits your application (which it most probably does if its similar to a jigsaw as you stated) I'd go with something like that.
It also assumes that your images are rectangular shapes where values can be added based on the corners rather than an arbitrary shape in which all points in the image must be manually calculated. With an arbitrary shape working out which method will be quicker will be more difficult to work out.
In summary, you'd be best to decide what operation will be carried out more often (adding images or mouse clicks) and carry out the work at the other one.

Page zoom in bigger screen

This image is of my website.It opens very beautifuly in medium and small screens(less than 1024x768 resolution).But when I open it in bigger browser it dosen't look like what it was.I mean it becomes quite small compared to the screen size.Question is ,Is there a option to make it look good on bigger screens.and if there is a way-> Than tell me.. :)
My site's Address:
NOTE: When I zoom-in or zoom-out on bigger screens than the MENU below the header section becomes distorted so keeping that in mind please suggest some solution.By the way this zoom-in and zoom-out distortion problem also happens in smaller screen.Thank You.

Silverlight: Adding transparency to images

I hope someone can help us. We’re trying to put together an image editor, with similar functionality to Photoshop in Silverlight (but nowhere near as intricate). We’ve hit a weird problem when it comes to creating layers (several independent images in a z-index stack). Layering images on top of each other seems fine, but we want users to be able to edit the image in a given layer and we can’t seem to get it working.
In particular we want users to be able to cut “holes” in an image layer (and therefore allow the image below to be seen through), but no matter what we do, Silverlight won’t let us alter the Alpha transparency of PARTS of the image.
Strangely it will allow us to turn the entire image transparent and it will correctly show any transparency the image already has, but we can't figure out a way to make the user's selection transparent.
I hope that’s clear enough for someone to be able to help us!
Thanks a lot.
If each layer is in a canvas, you can add complex clipping regions to the canvases to remove content from the rendering.
These would need to be generated from polygons for each hole, so not good for random pixel-based regions.
You might want to look at this sample on site: