{"comment":{"created_at":"2011-10-17T14:59:21Z","body":"No but I will try I have a lot of thinks i want to understand and add to the plug, like renaming on fly (uuid), deleted manually with checkbox for exemple.\r\n\r\nI have another issue but not with resizing function, I will open another ticket.\r\nThanks\r\n\r\n\r\n","updated_at":"2011-10-17T14:59:21Z","url":"https://api.github.com/repos/liferealized/cfwheels-attachments/issues/comments/2429713","id":2429713,"user":{"gravatar_id":"d7df08196f082cbf6292e005e6c05ca3","avatar_url":"https://secure.gravatar.com/avatar/d7df08196f082cbf6292e005e6c05ca3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Renand","id":738859,"login":"Renand"}},"action":"created","issue":{"number":4,"created_at":"2011-10-17T13:33:39Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi, I have this return when I try to create a resized version with an image file.\r\n\r\n\r\nElement FILE.URL is undefined in THIS.\r\n \r\nThe error occurred in E:\\SITES\\THALES_ARIBA\\plugins\\Attachments\\attachments\\model\\callbacks.cfm: line 78\r\nCalled from E:\\SITES\\THALES_ARIBA\\plugins\\Attachments\\attachments\\model\\callbacks.cfm: line 58\r\nCalled from E:\\SITES\\THALES_ARIBA\\plugins\\Attachments\\attachments\\model\\callbacks.cfm: line 16\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\global\\cfml.cfm: line 174\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\model\\callbacks.cfm: line 291\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\model\\crud.cfm: line 846\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\global\\cfml.cfm: line 174\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\model\\transactions.cfm: line 53\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\model\\crud.cfm: line 816\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\model\\crud.cfm: line 896\r\nCalled from E:\\SITES\\THALES_ARIBA\\controllers\\Products.cfc: line 232\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\global\\cfml.cfm: line 174\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\controller\\processing.cfm: line 85\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\controller\\processing.cfm: line 60\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\dispatch\\request.cfm: line 166\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\index.cfm: line 1\r\nCalled from E:\\SITES\\THALES_ARIBA\\rewrite.cfm: line 1\r\nCalled from E:\\SITES\\THALES_ARIBA\\wheels\\events\\onrequest.cfm: line 1\r\n76 : \t\tvar loc = {};\r\n77 : \t\tloc.style = arguments.styles[arguments.style];\r\n78 : \t\tloc.image = ImageRead(ExpandPath(this.file.url));\r\n79 : \t\tloc.largerDimension = loc.image.height > loc.image.width ? \"height\" : \"width\";\r\n80 : \t\tloc.smallerDimension = loc.largerDimension == \"width\" ? \"height\" : \"width\";\r\n\r\nI use this declaration : \r\n\r\nhasAttachment(property=\"image\",  styles=\"medium:250x250,thumbnail:50x50\", path=\"/images/:model/:id/:property/:style/:filename\");\r\n\r\nThanks for your help\r\n\r\nCF9 on IIS WIN XP / CFWHEELS 1.1.5 MySQL 5 ","comments":9,"title":"Error when i try to use Styles ","updated_at":"2011-10-17T14:59:21Z","url":"https://api.github.com/repos/liferealized/cfwheels-attachments/issues/4","id":1928430,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"d7df08196f082cbf6292e005e6c05ca3","avatar_url":"https://secure.gravatar.com/avatar/d7df08196f082cbf6292e005e6c05ca3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Renand","id":738859,"login":"Renand"},"html_url":"https://github.com/liferealized/cfwheels-attachments/issues/4","labels":[],"state":"open"},"legacy":{"issue_id":1928430,"comment_id":2429713}}