After I changed server the imagecreatefromjpeg doesn't work. I'm thinking it might be because of permissions of some sort because I had to change the way of creating directories after the change.
Any clues on how to fix this?
Code:
...
$imageFile = $_FILES['image']['tmp_name'];
list($width, $height) = getimagesize($imageFile);
echo "This gets written";
$src = imagecreatefromjpeg($imageFile);
echo "But not this:";
...