Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
Speeding up the image generation process with PhantomJS and PHP

So I have this local script generate.php that loops through some special folder structure of websites on my localhost and executes a phantomJS script using the PHP exec function to generate Thumbnails (1200x800) for these projects (These are just websites/php/html).

The problem is, that its really slow. I have about 18 different images to be generated and it takes from 30sec up to a minute for only those 18 which is not what I want. Is there an option to run those 18 execs concurrently with php or maybe there is a phantomJS script that can handle many images at once. Hope someone has an idea.

foreach(folder level 1)
   foreach(folder level 2)
      exec(phantomjs render image)
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!