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) »
  • Using images with CiviEvent
Pages: [1]

Author Topic: Using images with CiviEvent  (Read 788 times)

gibsonoliver

  • I post occasionally
  • **
  • Posts: 65
  • Karma: 2
    • Northbridge Digital
Using images with CiviEvent
April 12, 2011, 04:46:28 am
Hi

We are using CiviEvent and woul like all events to have an associated Image.
Is there any way in which a CiviEvent can include an associated image file which can be exposed to Drupal Views / image processor?

Yours
Olly
Oliver Gibson, Northbridge Digital

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Using images with CiviEvent
April 12, 2011, 06:27:57 am
Custom fields are exposed to Drupal Views module, including images. I'm not sure offhand if they can be displayed as an image, but even if not, that can be achieved with a few lines of custom code in a customized Views Template for that View.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Using images with CiviEvent
April 12, 2011, 09:41:20 am
Olly,

If you want to embed images in event description you can use wysiwyg editor as long as images are prevent on you sever and you can specify the path for the images. CiviCRM currently does not allow uploading of images.

Hth
Kurund
Found this reply helpful? Support CiviCRM

Rahul Bile

  • I post occasionally
  • **
  • Posts: 112
  • Karma: 16
  • impossible says, I M Possible
    • I AM POSSIBLE
Re: Using images with CiviEvent
April 12, 2011, 10:06:41 am
Olly,

You can add a Custom field for events of type link and while creating the event, you can give the path to image.  You can get the field value in views, which will be  path. Then in views Rewrite the output of this field as  <img src=[image_path_8] /> .


HTH
RB.
Consider donating to CiviCRM if you use it. http://civicrm.org/donate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Using images with CiviEvent

This forum was archived on 2017-11-26.