greens85
10-05-2007, 09:36 AM
Hi All,
I currently have a situation where an image is submitted through an upload form then automatically resized using php. Although that is exactly what i want to happen to the image i also want the user to be able to click on the image and for the image to open in a new pop up window at a higher resolution.
I was thinking the way to go about this might be javascript, although im unsure how it would be done as the image is submitted by the user and therefore isnt always going to be the same image? I think what i need to do to achieve this is when the image it submitted for the original image to be saved and then the thumbnail created, that way i can reference the original image in javascript. Is this possible???
Can anyone point me in the right direction to get started with this?
Thanks
I currently have a situation where an image is submitted through an upload form then automatically resized using php. Although that is exactly what i want to happen to the image i also want the user to be able to click on the image and for the image to open in a new pop up window at a higher resolution.
I was thinking the way to go about this might be javascript, although im unsure how it would be done as the image is submitted by the user and therefore isnt always going to be the same image? I think what i need to do to achieve this is when the image it submitted for the original image to be saved and then the thumbnail created, that way i can reference the original image in javascript. Is this possible???
Can anyone point me in the right direction to get started with this?
Thanks