https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2011-09-13T03:33:03ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Feature #1134: Build Flexibility for Image Choices into Featured Content Widgethttps://redmine.gc.cuny.edu/issues/1134?journal_id=43992011-09-13T03:33:03ZMatt Goldmattgold@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/346">Screen_Shot_2011-09-12_at_11.26.06_PM.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/346/Screen_Shot_2011-09-12_at_11.26.06_PM.png">Screen_Shot_2011-09-12_at_11.26.06_PM.png</a> added</li></ul><p>Just wanted to note that this is still an issue and that I think it's important; not having flexibility makes it harder to keep the homepage dynamic. Case in point: I wanted to feature a blog today, but didn't because it just looks too incongruous to have one person's photo next to a group blog (see attached screenshot)</p>
<p>Here are two ways to deal with this that make sense to me:</p>
<p>1. Allow the admin editing the widget upload a photo or point to one via URL<br />2. Show images from that particular blog's media gallery as options and allow the admin to choose one of them.</p>
<p>I know that this isn't the sexiest thing on our list, but I would love to be able to feature blogs more often.</p> CUNY Academic Commons - Feature #1134: Build Flexibility for Image Choices into Featured Content Widgethttps://redmine.gc.cuny.edu/issues/1134?journal_id=44082011-09-13T14:40:18ZBoone Gorgesboone@gorg.es
<ul></ul><p>Yes, it's still in the 1.3 milestone.</p>
<p>Thanks for the ideas on how to implement. Do you have a preference?</p> CUNY Academic Commons - Feature #1134: Build Flexibility for Image Choices into Featured Content Widgethttps://redmine.gc.cuny.edu/issues/1134?journal_id=44092011-09-13T14:47:21ZMatt Goldmattgold@gmail.com
<ul></ul><p>I think that option #2 makes the most sense, but really, whatever would be easiest is fine with me. Thanks for your work on this.</p> CUNY Academic Commons - Feature #1134: Build Flexibility for Image Choices into Featured Content Widgethttps://redmine.gc.cuny.edu/issues/1134?journal_id=52352011-11-29T15:08:36ZBoone Gorgesboone@gorg.es
<ul><li><strong>File</strong> <a href="/attachments/443">cac-featured-content-1134.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/443/cac-featured-content-1134.diff">cac-featured-content-1134.diff</a> added</li><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li></ul><p>In <a class="external" href="https://github.com/castiron/cac/commit/c9b8adc5e5a6a6cc69b9d96627e4f211bf565ab6">https://github.com/castiron/cac/commit/c9b8adc5e5a6a6cc69b9d96627e4f211bf565ab6</a> I added the ability for admins to specify an image URL for featured blogs and featured blog posts. A few notes:<br />- In order to make this work, I had to hack up the plugin and the TimThumb library in ways that are not secure for distribution, which means that we're now running a fork of the plugin. I have attached a diff file (cac-featured-content-1134) which can be reapplied to our local version when we need to make other changes. (The workaround for this - assuming there is one - would take me many, many hours, and doesn't really seem worth it at the moment.)<br />- You'll see the new Image URL fields for all content types, but they only work for Blogs, Posts, and Resources. If you enter an image for a Group or Member, nothing will happen - it'll fall back on the avatar.<br />- The logic for auto-selecting images (<a class="issue tracker-2 status-5 priority-3 priority-lowest closed" title="Feature: Adjust Featured Content Widget Default Images (Resolved)" href="https://redmine.gc.cuny.edu/issues/773">#773</a>) is still in place as the fallback. Leave the URL field blank, and the plugin will behave as it currently does.</p> CUNY Academic Commons - Feature #1134: Build Flexibility for Image Choices into Featured Content Widgethttps://redmine.gc.cuny.edu/issues/1134?journal_id=52482011-11-30T07:27:42ZMatt Goldmattgold@gmail.com
<ul></ul><p>Sounds great. Many thanks, Boone!</p>