Image resolution check

Hello again!

I'm slowly getting to know this script, but I'm stuck on something... I wonder how can I check the size of my image files (the width of the uploaded *.jpg). I couldn't find a function that handles that, but there should be some way...
My idea is to write the following kind of script:
`<?php<br />
if ($imagewidth > $value) {

// put tumbnail linked to full size

} else {

// print image without link to it

}

?>`

Best regards,
mudisoft

Comments

Sign In or Register to comment.