Add image with update via spider

Discussion in 'Auto Classifieds Script' started by WalterSteenvoorden, Jun 23, 2017.

  1. WalterSteenvoorden

    WalterSteenvoorden New Member


    Currently we are developing a spider which gets cars and images from a different website. How do i get the right controller to save the images and scale these to thumb, large, orginal, etc etc.?
  2. Dayir_A.

    Dayir_A. Staff Member

    Hello @WalterSteenvoorden,

    Image processing is done in /includes/classes/ia.core.picture.php file
    processImage - method. It processes an image and generates all required copies (thumb, large etc.)

    You can find usage of this method in /includes/classes/ia.core.field.php


Share This Page