Re: How to do image mapping
It depends how many images you have and what shape they are. If the are all rectangular with uniform sizes then you can probably use an HTML image map and that way the images never need to be stiched together.
Re: How to do image mapping
Hi,
The big image has 100 pixels blocks. So the small images can be of any number of blocks. 1 block = 100 pixels (10x10 pixels i.e).
Now it can be just 1 block or can be any number of blocks. But thats what i am not after right now.
What i am looking is for that suppose some one sends in a 10x10 = 100 pixel image that is a square how do i paste that image onto the big grid i have without doing any manual labour ?
I want it all to be done using php. Let me explain the procidure:
Step 1: User uploads its image is going to be in blocks min will be 1 block and max can be any number of blocks will in any case it will either be a square or a rectangle.
Step 2: Once uploaded ..the image has to be pasted on the grid which itself is a image.
Thast it. I am not after right now what is the size etc. I just first wanna know how can i paste the image on to a image using php...
After that i will do the maths weather its a rectangle etc.
Thanks.