Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Image Resize via Queue instead of the First Page View

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: IMAGERESIZEQUEUE1

  • precompute image variants through queue and cron
  • sizes from the view.xml of the active theme
  • priority for new products, time window and load limit
  • dashboard with progress, failure reason and retries
Auf Lager
€99.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

Magento 2 Image Resize: image sizes in advance, not on first view

With Magento 2 Image Resize from Mironsoft you precompute product image variants in a queue instead of leaving the work to the first visitor. By default Magento creates the sizes for listing, detail page and cart only when a page is first viewed. That costs time, burdens the CPU and slows down exactly the pages you have just imported. The module puts jobs into a queue, processes them by cron or queue consumer and shows progress in the admin. Magento 2 Image Resize then runs outside of visitor requests.

Precompute via queue

New and changed product images are queued and converted into all required sizes in the background.

Sizes from the theme

The module reads the image sizes from the view.xml of the active theme, so only variants that are really needed are created.

Priority

New and changed products go before the old catalog. Categories with heavy traffic can be favoured.

Progress

The admin dashboard shows open, running and finished jobs as well as the error rate.

Retries

Failed jobs are retried automatically. Broken source files are reported, not silently skipped.

Time window

Processing can be limited to quiet hours and capped per run.

Why precompute

Why Magento 2 Image Resize works better in the background

After a product import the first visitor of a category often sees a sluggish page because Magento is creating dozens of images at that moment. Anyone who searches for slow Magento 2 product images or how to generate the Magento 2 image cache knows the problem. The standard command for regenerating all images is a one-off, heavy run on the command line.

With Magento 2 Image Resize via queue the work is spread out. Small batches are processed continuously, the server stays responsive and the first visitor receives variants that already exist. That improves load time and protects the server without slowing down the import.

01Queue

Queue and process Magento 2 Image Resize jobs

As soon as a product image is uploaded, replaced or created by an import, the module puts a job into the queue. A consumer or cron processes the jobs in adjustable batches. Duplicate jobs for the same image are merged. If an image already exists in all sizes, the job is skipped. That keeps the load even and avoids unnecessary work.

  • Job on upload, replacement and import
  • Duplicate jobs are merged
  • Batches with adjustable size per run
System › Image Resize Queue
Open
128 jobs (example value)
Batch size
50 images per run
Duplicates
merged
Configuration › Mironsoft › Image Resize
Source of sizes
theme view.xml
Priority
new and changed first
Old catalog
slow pass at night
02Sizes and priority

Image sizes from the theme and order of processing

The module reads the image types and dimensions from the view.xml of your theme and computes only those variants. If you change the theme, a check detects which sizes are missing and queues them. You control priority by recency and category: freshly imported products and bestsellers come first. For the old catalog there is a separate slow pass in the background.

  • Only sizes from the active theme view.xml
  • Queue missing variants after a theme change
  • Priority by recency and category
03Progress and errors

See progress, understand errors, retry

The dashboard shows how many jobs are open, running and done and how long the current backlog is expected to take. If a job fails, the reason appears in the list: source file missing, file damaged, memory limit reached. The module retries several times with a pause and then sets the job to failed so it does not return forever. From the list you can restart jobs by hand.

  • Dashboard with open, running and finished jobs
  • Failure reason per job
  • Limited retries with a pause
Image Resize Queue › Dashboard
Done today
2,340 images (example value)
Failed
3, source file missing
Backlog
approx. 40 minutes
Configuration › Time window
Time window
22:00 to 06:00 (example)
Jobs per minute
60
Unused variants
list, remove manually
04Time window and storage

Run Magento 2 Image Resize in a time window with storage control

Define the hours in which Magento 2 Image Resize may run, for example only at night, and how many jobs per minute the server can take. A memory guard stops the run before the PHP limit is exceeded. In addition you can find image variants that no theme uses any more. You see these leftovers as a list and remove them deliberately, never automatically.

  • Set the hours for processing
  • Memory guard before the PHP limit
  • List of unused variants for deliberate removal
Use cases

Where Magento 2 Image Resize via queue helps in daily work

Typical situations in shops with many product images.

Large import

After importing thousands of products Magento 2 Image Resize makes sure the image variants are ready before the first customer opens the category.

Theme change or relaunch

New image sizes in the theme are recomputed systematically without anyone starting a command on the server.

New products every day

Dropshipping and marketplace shops with constant updates keep image output stable, without load spikes.

Weak server

If CPU is scarce, limit jobs per minute and process only at night.

Comparison

Magento 2 Image Resize: creation at first view versus queue

What changes for visitors and the server.

TopicWithout moduleWith Mironsoft Image Resize Queue
First viewImages are created on page viewVariants are already in place
Server loadSpikes from visitors and importsEven, in batches and time windows
RecalculationOne-off command line runContinuous, only what is missing
ErrorsImages missing without a hintFailure reason and retries in the list
OverviewNoneDashboard with progress and backlog
Setup

How we set up Magento 2 Image Resize for you

The process after you order.

1

Consultation

You tell us the time window, priorities and the load your server can take.

2

Installation

We install the module, set up Magento 2 Image Resize with a queue consumer or cron and read the image sizes of your theme.

3

First pass

The old catalog is precomputed in small batches while we watch load and memory.

4

Test

We import test products and check Magento 2 Image Resize: the variants exist before the first page view.

5

Handover

Your team gets an introduction to the dashboard, error list and time window.

Differences

Difference to lazy loading, image formats and cache warming

The Mironsoft lazy loading decides in the browser when an image is loaded. Magento 2 Image Resize decides when the variants are created on the server. The choice of image formats and compression is a topic of its own, and the cache warmer warms pages, not images. All modules can be combined.

The module works in the backend and does not change the Hyvä theme or the storefront.

05How the purchase works

No download, personal setup instead

Image Resize Queue is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on time window, priority and batch size together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything about the queue, sizes, errors and how the purchase works.

How can I have Magento 2 images resized in advance?
With Magento 2 Image Resize the module puts product images into a queue and computes all sizes in the background before a visitor opens the page.
How does the module know which image sizes are needed?
From the view.xml of your active theme. Only variants that your theme really requests are created.
What happens with a damaged or missing source image?
The job is recorded as failed with the reason, stopped after several attempts and shown in the list. It does not block the queue.
Can I restrict processing to the night?
Yes. You set the time window and the jobs per minute in the configuration.
Does this replace the Magento command for regenerating images?
It complements it. The module continuously processes only what is missing, so a large one-off run on the command line is no longer necessary.
How much storage do the variants need?
That depends on the number of images and the theme sizes. The list of unused variants helps with deliberate cleanup.
Does Magento 2 Image Resize work with Hyvä?
Yes. The module works in the backend and reads the image sizes of the Hyvä theme. It loads no extra JavaScript in the shop.
Does it work with a CDN?
Yes. The variants are stored on the server and fetched by the CDN as usual. The effect depends on your CDN configuration.
How is this different from lazy loading?
Lazy loading controls when an image loads in the browser. Magento 2 Image Resize controls when the variants are created on the server.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 Image Resize – Mironsoft Image Resize Queue
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Image Resize – Mironsoft Image Resize Queue

Magento 2 Image Resize – Mironsoft Image Resize Queue

€99.00