XebraTech
asked on
getimagesize not following symlink - images display however (FC6 + Plesk)
Running Fedora Core 6 with Plesk installed. (Virtual Host)
Have a symbolic link pointing to an image directory in another subdomain. Have put a 'vhosts.conf' file allowing to FollowSymLinks, which appears to be working just fine as the images are displayed appropriately.
I need to do a getImageSize in order to prepare for popping a new window with a larger image for 'view larger image' type functionality. So, images load/display fine, but when I call
$imgPath = "./images/products/".filen ame.jpg;
list($width, $height, $type, $attr) = getimagesize($imgPath);
I don't get any values in my variables. Yet images does exist and does display.
I don't understand why. Have put a test in and am getting is_readable as false.
Any ideas on this one?
Thanks...Bob
Bob McCormick
XebraTech
Have a symbolic link pointing to an image directory in another subdomain. Have put a 'vhosts.conf' file allowing to FollowSymLinks, which appears to be working just fine as the images are displayed appropriately.
I need to do a getImageSize in order to prepare for popping a new window with a larger image for 'view larger image' type functionality. So, images load/display fine, but when I call
$imgPath = "./images/products/".filen
list($width, $height, $type, $attr) = getimagesize($imgPath);
I don't get any values in my variables. Yet images does exist and does display.
I don't understand why. Have put a test in and am getting is_readable as false.
Any ideas on this one?
Thanks...Bob
Bob McCormick
XebraTech
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.