I'm new to Drupal, and I might be going about this the wrong way (let me know!)...I'd like this module to accept Embedded Media Field posts as well as standard image uploads, so people can either post images they haven't put elsewhere, or add their photos from other sites for the community.
What I've done is changed the "Image" content type to "Local Image" and added "Remote Image" and "Remote Video" content types that use EMF fields instead of an upload field. I've changed the relevant Taxonomy to apply to these content types, and I have modified the filter for Views to include content of these types...but for some reason, they still aren't counted or displayed in the gallery I have created. EMF creates a thumbnail for the videos automatically but this still doesn't appear. I've checked that these items are set to "Published" and they appear outside of the "Gallery page" view if I link to the nodes directly...
Any ideas? Is this possible or practical?
Comments
Comment #1
joachim commentedWhat you suggest ought to work, up to a point.
Not sure why the non-image types aren't showing in your gallery. Check the troubleshooting page for a few things to check. Also check the query you're building with views on the views edit preview page.
As for the count field, that's hardcoded in image_gallery_handler_field_gallery_count, so you're stuck for now. I've filed a feature request for that: #602248: Let gallery count field count other stuff too -- could you subscribe and test a patch once I've written one?
Comment #2
tecsbrain commentedThanks for your response. Nothing in Troubleshooting really seemed to apply, but I am checking with a Views live preview per your suggestion and it works there just the way I want it...but not on the actual gallery page. Argh!!!
Also, I have changed the Path of the "Gallery page" view to "media" instead of "image" and back...the change to 'media' had no effect (page not found at /media but everything loading under /image) but I thought maybe it was causing that problem, so I changed it back...still nothing.
Comment #3
joachim commentedAre you sure the gallery page is showing a view, and the right view?
Comment #4
tecsbrain commentedYes - the ...
Nevermind.
Setting status to "Closed - User is a moron"
Views has this amazing feature called a Save button. It works really well. I should try it more often.
*Lurks into the shadows of embarrassment*
Comment #5
joachim commentedHeh -- happens to all of us :)
You could test this patch for me #602248: Let gallery count field count other stuff too if you have the ability and the time :D