I am using this beyond simple script to get the height of an image. When I use it locally on my computer I get the height but when I use it on dreamhost I get nothing.
I do not have the GD library installed on my computer and it still works, is there something I need to do or maybe dreamhost has it setup differently than me.
Here is the code:<?php // Get Image Height $image = "http://www.mididelight.com".$current_category["image"]; $imgprop = getimagesize($image); $height = $imgprop; ?>
- NOTE: the url is correct