On Sat, Jul 17, 2010 at 10:15 AM, ytbryan <ytbr...@gmail.com> wrote: > Hi all, > > is there a workaround to get exif_imagetype working? > > I am getting these error: > > exif_imagetype() [function.exif-imagetype]: Filename cannot be empty > [APP/controllers/blogs_controller.php, line 78]
The "workaround" is to give it a filename. > or a method in cakephp to determine size of image? Do you mean a function added to basics.php? If so, I disagree. That functionality is not generic enough to be loaded by default. And it's just PHP underneath, so there's always getimagesize(), imagesx(), and imagesy(). (I'm assuming you meant dimensions) You could always create your own component. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en