Book a Demo

Author Topic: add Image to a EA Image Library via Script  (Read 3698 times)

HTB

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
add Image to a EA Image Library via Script
« on: May 09, 2015, 02:59:14 am »
Is there any way to add image to the Library without using the Image Manager ??

I would like to add several images to Image Manager via script.
 
Does anyone have a code snippet solving this requirement?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: add Image to a EA Image Library via Script
« Reply #1 on: May 09, 2015, 03:14:17 am »
You can import them into the table t_image directly. The image is simply stored as blob. Just import an image manually and see what t_image contains. It should be easy to mimic that programmatically (I've done that more than once).

q.

HTB

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: add Image to a EA Image Library via Script
« Reply #2 on: May 09, 2015, 07:25:05 am »
Thanks  I will review.

 :)