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) »
  • Images
Pages: [1]

Author Topic: Images  (Read 1800 times)

FredJones

  • Guest
Images
August 13, 2007, 08:58:15 am
Is there a way to allow an image on an event page?

If not, then could anyone provide a bit of direction how I could add this feature?

Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Images
August 13, 2007, 12:11:10 pm

hershel:

store the image externally and reference the image in the introductory text.

lobo

p.s> how come no response on becoming the hebrew translator?
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

FredJones

  • Guest
Re: Images
August 14, 2007, 10:22:51 am
Quote from: Donald Lobo on August 13, 2007, 12:11:10 pm
store the image externally and reference the image in the introductory text.

Yes, I thought of this. I was thinking of a more flexible solution like this:

1. Add a bit of PHP code to check for the existence of a file like /images/eventX.jpg where X is the event ID.
2. If found, then display it, if not, then not.

This would make the process of adding images fairly easy for the admins.

Quote from: Donald Lobo on August 13, 2007, 12:11:10 pm
p.s> how come no response on becoming the hebrew translator?

One reason is that my Hebrew is not actually that good.

I actually did arrange for one of our translators to put in some time. At our expense in fact. She said she will try tomorrow.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Images
August 14, 2007, 12:23:51 pm

Hershel:

The below seems a bit specific to your organization and layout. You might need to hack the code to meet your needs. Check the civicrm architecture series (http://civicrm.org/architecture) to get a better idea of the layout of the code / templates etc

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

businessbroker

  • Guest
Re: Images
September 22, 2008, 06:59:06 pm
so the same is possible with videos!?

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

This forum was archived on 2017-11-26.