get the width and height of an image.
I am busy making an slideshow that shows 2 images side by side. And because of that i want to resize the images so that you can see the whole image.
Now the problem is that when i use 'getimagesize($f->getRelativePath())' I get an open_basedir error.
Is there a solution to get the width and the height of the image?
I tought about that to, but because I could not find a way to get the Absolute path I thought there was another way to get the width and height of the image.
thx for the reply...
I think i found how i can get the absolute path. => getpath()