Hi,
Does anyone know if the attach_file can determine the height and width of an image when it gets attached.
If so, when the image gets attached couldn't we do something like
fd = whatever the source would for this info.
like we do for type
$ft = $in->uploadInfo($fh) ? $in->uploadInfo($fh)->{'Content-Type'} : 'application/octet-stream';
Then add a field to the attach database called FileDimension and stick fd in there.
Anybody have any ideas on this? It would be really use full information.
I tried changing Content-Type to Content-Dimensions
Content-Dimension
Dimensions
Content_Structure
Structure
Is it available?
Thanks and peace.
Kyle
Does anyone know if the attach_file can determine the height and width of an image when it gets attached.
If so, when the image gets attached couldn't we do something like
fd = whatever the source would for this info.
like we do for type
$ft = $in->uploadInfo($fh) ? $in->uploadInfo($fh)->{'Content-Type'} : 'application/octet-stream';
Then add a field to the attach database called FileDimension and stick fd in there.
Anybody have any ideas on this? It would be really use full information.
I tried changing Content-Type to Content-Dimensions
Content-Dimension
Dimensions
Content_Structure
Structure
Is it available?
Thanks and peace.
Kyle