Hello
I'm trying to get the height and width from an uploaded image but having trouble properly defining(or correct syntax) getimage(). The way it works at the moment is:
stage1.select image to upload:
stage2.image uploads & returns filename and size(k):
I'm trying to get stage 2. to echo these image properties :
extension - can do with $ext
filename - can do $file_name
width - can't do
height - can't do
so the variables can then be passed into a database, but the penny just isn't dropping at the moment, can anyone help me get the height and width of an uploaded image.
many thanks in advance for your help.
John Walker