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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Bug link to image (custom field) in admin
Pages: [1]

Author Topic: Bug link to image (custom field) in admin  (Read 212 times)

jchnews

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Wordpress
  • MySQL version: 5.1
  • PHP version: 5.3.x
Bug link to image (custom field) in admin
November 27, 2014, 07:15:02 am
Hello,

For a contribution form we use a file type custom field which is displayed in contact details.

For PDF uploaded file no problem to download it on admin

For jpg uploaded file a thumbnail is well displayed but the link on the thumbnail is not good and redirect to 404

Is it a bug in civicrm 4.3.5 ? a configuration problem ?

The html code :
Code: [Select]
                  <div class="crm-label">Image</div>
                                      <div class="crm-content crm-custom_data crm-displayURL">
                  <a href="#" onclick="imagePopUp('http://www.domain.fr/files/civicrm/custom/MIP_6b91665fc799690974d578457e08acbb.jpg'); return false;" ><img src="/wp-admin/admin.php?page=CiviCRM&q=civicrm/file&amp;reset=1&amp;id=10770&amp;eid=4340" height = "76" width="100"></a>
                </div>

The directory http://www.domain.fr/files/civicrm/custom/ doesn't exist ...


Thanks for support


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Bug link to image (custom field) in admin

This forum was archived on 2017-11-26.