CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Best practice for associating an image with an event for marketing
Pages: [1]

Author Topic: Best practice for associating an image with an event for marketing  (Read 285 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Best practice for associating an image with an event for marketing
March 17, 2014, 09:46:21 am
Events all have an HTML description which can include images but often the way we market an event is through drupal views, RSS or an ical feed.  Events can have custom fields (file or URL) but they need to be hidden using css or javascript when showing the event info and have to be duplicated in the body of the info description.

Events descriptions without an image look really boring.  I know Drupal and Wordpress allow attaching an image to an entity - wondering if someone has a clever way to do this in civicrm?

BTW - Ical does support an image attach (according to http://www.ietf.org/rfc/rfc2445.txt).  Would also need RSS to attach image for feeds.

This is just  brainstorming - not enough priority for my org to justify cost but I did have some thoughts on the approach (we would need for drupal):
  • Create an extension to attach an image to an event.  include in event workflow creation, and event description.
  • In drupal, parse the event body for a URL that has a tag of some sort that indicates it is THE image for the node.
  • Since most events are templatized in our system and only a few fields like the date, description and image vary, we could reverse the event creation workflow and initiate as a Drupal entity with body, description, image, date, etc. and use the CiviCRM API to create the event - keeping the image link in Drupal.

Hopefully someone will tell me that there is a much simpler approach...:)

Thanks,
S.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Best practice for associating an image with an event for marketing

This forum was archived on 2017-11-26.