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) »
  • Custom fields (Input Field Type: File)
Pages: [1]

Author Topic: Custom fields (Input Field Type: File)  (Read 1019 times)

3MY

  • Guest
Custom fields (Input Field Type: File)
May 21, 2009, 08:58:55 am
Hi,
I have a problem:
   
 I created a custom fields:
  Field Label :Image
  Input Field Type: File.

when I import a picture(eg *.jpg)  the "BLOB" fields from "civicrm_file" table are "0B"
uri :Becks_Sconce_7a71f92d45f465cd82f1c9d8de693563.jpg
[BLOB - 0B]

How import a picture from civicrm database to another site (eg wordpres).

   
Thanks,
Emil.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom fields (Input Field Type: File)
May 21, 2009, 06:16:20 pm
My recollection is that image files are not actually stored in the DB. Rather they are stored on your server in the configured "upload" directory. The "uri" field in the civicrm_file table tells you the filename in that directory. Check Admin CiviCRM >> Global Settings >> Directories to confirm the directory location for your install.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom fields (Input Field Type: File)

This forum was archived on 2017-11-26.