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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM not playing nice with Drupal Media module shortcodes?
Pages: [1]

Author Topic: CiviCRM not playing nice with Drupal Media module shortcodes?  (Read 483 times)

cognoscento

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
CiviCRM not playing nice with Drupal Media module shortcodes?
December 04, 2012, 08:51:09 am
Intermittently, the images I've inserted into the body of the pages on my website disappear, but reappear after I flush the caches. Normally, this would seem to be something to post on a CiviCRM support forum, but there's an interesting CiviCRM connection

It seems clear where the problem is coming from, as the URLs in the HTML to the images are different before and after flush:

Before:

Code: [Select]
<img width="480" height="178" src="/sites/all/modules/civicrm/bin/sites/default/files/styles/large/public/Picture%20Frame%202_0.jpg" typeof="foaf:Image" class="media-image" alt="">
After:

Code: [Select]
<img width="480" height="178" src="/sites/default/files/styles/large/public/Picture%20Frame%202_0.jpg" typeof="foaf:Image" class="media-image" alt="">
I've double-checked the filters on my text formats, but nothing stands out as likely to be causing this sort of problem. The order of filters is as follows:


  • Convert URLs into links
  • Convert Media tags to markup
  • Correct faulty and chopped off HTML
  • Correct URLs with Pathologic

What seems particularly odd is that it's intermittent, and (temporarily) fixed by a cache flush.

Perhaps the problem resides somewhere other than in CiviCRM, but maybe someone has had/solved this problem already? (Couldn't find anything on these forums or in the Media module issue queue,,,)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM not playing nice with Drupal Media module shortcodes?

This forum was archived on 2017-11-26.