Greetings,
MS Img Saver is a FieldType for Brandon Kelly’s FieldFrame.
The FieldType is now at Version 1.0.1.
Features
Setup
Known Issues
Let me know if you have any questions.
Hiya Cody,
As you know I’ve already been using this since you first put it online in your GIT repository and I think it’s superb. Will try out this new version now. Was really waiting to see the integration with the FF Matrix as that will really really rock!!
Thanks again for releasing this to the community like this, I reckon you are going to get a lot of follows due to this one.
Best wishes,
Mark
Where exactly are you getting that error? In the custom field settings? Or is that when you are using it to publish an entry?
The error was showing when editing a Matrix field and adding your extension to the matrix then updating the matrix field. Just tried the latest version of your extension and it’s still doing it, sorry!! :-(
The whole error is shown below, seems to be looking for a column in the exp_weblog_fields table which definitely doesn’t exist :-(
MySQL ERROR: Error Number: 1054 Description: Unknown column ‘img_width’ in ‘field list’ Query: UPDATE `exp_weblog_fields` SET `field_id` = ‘6’, `site_id` = ‘1’, `field_name` = ‘matrix’, `field_label` = ‘The Matrix’, `field_instructions` = ”, `field_type` = ‘ftype_id_3’, `field_pre_populate` = ‘n’, `field_related_to` = ‘blog’, `field_maxl` = ‘128’, `field_ta_rows` = ‘6’, `field_list_items` = ”, `field_related_orderby` = ‘title’, `field_related_sort` = ‘desc’, `field_related_max` = ‘0’, `img_width` = ‘200’, `img_height` = ‘200’, `field_fmt` = ‘xhtml’, `field_show_fmt` = ‘y’, `field_text_direction` = ‘ltr’, `field_required` = ‘n’, `field_search` = ‘n’, `field_is_hidden` = ‘n’, `field_order` = ‘5’, `ff_settings` = ‘a:1:{s:4:\"cols\";a:3:{i:1;a:4:{s:4:\"name\";s:6:\"cell_1\";s:5:\"label\";s:6:\"Cell 1\";s:4:\"type\";s:14:\"ff_matrix_text\";s:8:\"settings\";a:1:{s:4:\"maxl\";s:3:\"128\";}}i:2;a:3:{s:4:\"name\";s:6:\"cell_2\";s:5:\"label\";s:6:\"Cell 2\";s:4:\"type\";s:14:\"ff_matrix_date\";}i:3;a:4:{s:4:\"name\";s:6:\"cell_3\";s:5:\"label\";s:6:\"Cell 3\";s:4:\"type\";s:15:\"ff_ms_img_saver\";s:8:\"settings\";a:1:{s:9:\"upload_id\";s:1:\"1\";}}}}’, `field_related_id` = ‘1’ WHERE field_id=6 AND group_id=1
Best wishes,
Mark
That doesn’t make any sense ><. I’m not able to recreate this at all… I’ve totally deleted my extension, removed all residual settings for it in the database. Downloaded the version from GitHub, reinstalled it, enabled it, added it to a pre-existing FF Matrix Custom Field and it updates the settings just fine… That “img_width” column shouldn’t be in the field list, it should be in that serialized data under “ff_settings” right next to where it says “upload_id” towards the very end.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.