Gazley Posted August 16, 2012 Share Posted August 16, 2012 Hi there, I installed ThumbNails and am getting an error. I've attached an image of the installation folder. In the control panel, I can now see additional information that says: Thumbnails (hover to preview, click to crop) and a "thumbnail" link underneath that. If I hover over the image, nothing happens. If I click it, it expands into a fancy box (like before) but there are no additional capabilities. If I click on the thumbnail link, I get the following crash: Error Call to a member function get() on a non-object (line 50 of /Applications/MAMP/htdocs/ProcessWire/site/modules/ProcessCropImage/ProcessCropImage.module) Any ideas what might be wrong? Thanks. CropImage.tiff Link to comment Share on other sites More sharing options...
apeisa Posted August 16, 2012 Share Posted August 16, 2012 Have you changed the fieldtype and inputfield both to cropImage? Link to comment Share on other sites More sharing options...
Gazley Posted August 16, 2012 Author Share Posted August 16, 2012 Hi apeisa! Sorry, no, I hadn't just one of them. So I changed the other to crop image too, and then saved. I've tried to edit the page and I'm getting the following error: There is no thumb called: thumbnail I can't get back to the page now. Is there something I can do to get back to the page? Many thanks. Link to comment Share on other sites More sharing options...
apeisa Posted August 16, 2012 Share Posted August 16, 2012 Seems like something wrong with settings. Probably some cache issue, try saving the field and try again? Link to comment Share on other sites More sharing options...
Gazley Posted August 16, 2012 Author Share Posted August 16, 2012 Yep, you were right, so I'm back into the page! I've added an image. Now if I hover over the thumbnail link, I see a thumbnail! If I click on the thumbnail, I get this: Error Call to a member function get() on a non-object (line 50 of /Applications/MAMP/htdocs/ProcessWire/site/modules/ProcessCropImage/ProcessCropImage.module) Link to comment Share on other sites More sharing options...
apeisa Posted August 16, 2012 Share Posted August 16, 2012 What is the URL (or the url params only) of the thumbnail link? Link to comment Share on other sites More sharing options...
Gazley Posted August 16, 2012 Author Share Posted August 16, 2012 Might be worth mentioning that the image is in a repeater field, if this has any bearing on the situation? http://localhost:8888/ProcessWire/processwire/page/image-crop/?filename=zag18.jpg&prefix=thumbnail&width=100&height=100&pages_id=1058&field=images&modal=1 Link to comment Share on other sites More sharing options...
apeisa Posted August 16, 2012 Share Posted August 16, 2012 Oh yes indeed (had already forget about this): http://processwire.com/talk/topic/643-release-thumbnails/page__st__100#entry12815 Need to implement that fix "officially" soon... Link to comment Share on other sites More sharing options...
Gazley Posted August 16, 2012 Author Share Posted August 16, 2012 Hi - yep, that fixed it Thanks for your help. Link to comment Share on other sites More sharing options...
Gazley Posted August 16, 2012 Author Share Posted August 16, 2012 apeisa, just wanted to say what an excellent add-on you have created. I didn't really understand exactly what it did until I got it going. It's brilliant - thank you very much! Link to comment Share on other sites More sharing options...
onjegolders Posted September 29, 2014 Share Posted September 29, 2014 Just had this error again. Strange one, "there is no thumb called: " (empty), before that I was getting "no width and height" errors. I've tried clearing cache and resaving the field but nothing seems to be working. UPDATE: I think I may have had some whitespace left over from when I deleted a thumbnail row in the input setting part, deleting that has cleared the error. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now