<p>Normally I use <code>imagecreatefromjpeg()</code> and then <code>getimagesize()</code>, but with Firefox 3 I need to go round this different. So now im using <code>imagecreatefromstring()</code>, but how do I retreive the image dimensions now?</p>

```
imagesx()
```
and
```
imagesy()
```
functions seem to work with images made with
```
imagecreatefromstring()
```
, too.