Right, ha. That would be photographybyweston.com/ku. The folder with the big images is under tennis, iowa state, iowa state player. That is the only folder on the server with big images along with regular images.
Every other category on the site has just regular resized images with no big folder.
I am not getting any errors at all while downloading without changes to Chris' code, it just downloads the regularly sized file. What would be the ultimate is on the details page, knowing how to get a link or make a button to where if there is a big file associated with the resized version to have that display in addition to the regular download size.
Below this is the code I noticed in download.php, I changed the last ending '/' to be '/big/' and it downloaded the big files in that Iowa State Player folder, but on a regular image without the BIG size it did not download properly. Hope all this information helps, and I really appreciate you giving me a hand with this!
Thanks,
Weston
// $file['file_path'] = (is_local_file($image_row['image_media_file'])) ? dirname($image_row['image_media_file'])."/".$file['file_name'] : MEDIA_PATH."/".$image_row['cat_id']."/".$file['file_name'];
// Let the user download the "<cat_id>/download/<fname>", "<cat_id>/big/<fname>", or "<cat_id>/<fname>" version of the image
$temp = get_file_path($file['file_name'], "download", $image_row['cat_id'], 0, 1);
if( !file_exists($temp) )
$temp = (is_local_file($image_row['image_media_file'])) ? dirname($image_row['image_media_file'])."/".$file['file_name'] : MEDIA_PATH."/".$image_row['cat_id']."/".$file['file_name'];
$file['file_path'] = $temp;
}