0

I need to create the "retina" image with 2x width of each existing image in the folder "uploads" to the folder uploads/scaled.

like this:

image_resize( string $file, int $max_w, int $max_h, bool $crop = false, string $suffix = null, string $dest_path = null, int $jpeg_quality = 90 );

In an ideal situation creating a new image size such as add_image_size();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.