Hi there,
I've successfully integrated the module into a site I'm developing, however some images around the site are in blocks so I've tried to make them responsive by creating a file display type. When setting the Picture module active for this file display type I get the following error:
Fatal error: Call to undefined function file_entity_file_is_readable() in \sites\all\modules\picture\picture.module on line 621
Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | picture-file_entity_update-1933294-4.patch | 839 bytes | darren oh |
| #3 | picture-file_entity-update-1933294-2.patch | 1.47 KB | darren oh |
Comments
Comment #1
attiks commentedThis function only exists in 7.x-2.x version, are you using 7.x-1.x?
Comment #2
darren ohI’m using 7.x-2.x-alpha2, and I still get errors. Picture module is checking
$file->image_dimensions['width']and$file->image_dimensions['height'], which have been moved to$file->metadata['width']and$file->metadata['height'].Comment #3
darren ohComment #4
darren oh#2101779: Width and height missing in WYSIWYG inserted images after upgrading to latest dev versions of Media and File Entity fixed part of this issue. Attaching new patch.
Comment #5
attiks commentedI released a new version today, did you try it with 7.x-1.2?
Comment #6
darren ohYes, that’s why I submitted a new patch.
Comment #7
attiks commentedThanks, fixed and pushed
Comment #8
darren ohFixed in commit d9547cf.