Forums / Developer / Image handling with remote downloaded image

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Image handling with remote downloaded image

Author Message

Lars Eirik R

Monday 31 May 2010 4:32:48 am

Hi.

I have a module which is responsible for downloading a remote image (from another server), store this in a temp file on the computer. Finally the image is added to the ezContentObject.handleLocalFile() method.

This works ok, but seems to be very unstable once the image is somewhat larger.

Is this because the script stops executing, so ther image does not exist when i look in my media library?

Should i offload this to php Cli instead?

Any help is greatly appreicated.