Closed (fixed)
Project:
Imageflow
Version:
7.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2012 at 18:20 UTC
Updated:
24 Jul 2013 at 20:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
tarausa commentedI have the same error, did you fix?
Comment #2
hwasem commentedI am trying out imageflow to see if it will work for my site. I, too, am receiving the error, along with the following:
Undefined index: uri in theme_imageflow_image_formatter() (line 73 of /root/sites/all/modules/imageflow/theme/theme.inc).
Undefined index: alt in theme_imageflow_image_formatter() (line 74 of /root/sites/all/modules/imageflow/theme/theme.inc).
Undefined index: title in theme_imageflow_image_formatter() (line 87 of /root/sites/all/modules/imageflow/theme/theme.inc).
I'm a bit unclear on configuration and setting up my view with Imageflow, so it is likely a configuration problem. I just don't know where to look. Did you find a solution?
Comment #3
rinasek commentedI have same problem here. Thing is that i use image flow on two different pages.
On landing page everything works fine: images are show, captions are show etc. For that landing page content type has only image and link.
On other page i need imageflow again but it needs to show images from other content type (with more fields). Everything is set same as first view (showing only image since there should be no link) but images are not show as you can see in attachment.
Also i am getting these errors:
Also i tried to create new Imageflow preset but got same result.
My guess is that this has to do something with reflection image generation but not sure what.....
Thanks in advance!
Comment #4
bbujisic commentedSeemed like error happened when node's language was different than field's language.
For example, node language was en, but field_image's language is und. So
theme_views_view_imageflow()was looking for['field_image']['en'], which in fact, did not exist.The patch simply skips entire language stuff, and uses
current()function to access the image data.Please review.
Comment #5
hwasem commentedI found that my images were using the same language, but I had a bad configuration in my Views fields.
I think I had my Fields out of order and was using a content field in the image link that had not been defined before it, but after. Once I changed the order and made sure the image link and title were already defined (and excluded from display in my case), it worked fine.
Comment #6
tuwebo commentedHi,
Patch from #4 is working fine for me so far.
Thanks Branislav.
Comment #7
jamesbenison commentedPatch has been applied in latest dev.