Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1489768

    Hi

    I have noticed that when using Enfold the image upload time is ridiculously slow. e.g 13 minutes to upload 3MBs of small webp images

    We have turned off all plug-ins and just activated the enfold theme. not the child theme. and it is so slow. Our client has been complaining about this for a while now. If we activate the 2025 theme only its very fast.

    Here is a screen recording of the upload issue

    I have tried reloading Enfold via FTP but the problem persists. Do you know what is causing this and is there a fix for this?

    Many Thanks
    Regards
    Colin

    #1489793

    Hey waveseven,

    Thank you for the inquiry.

    You are uploading a lot of files simultaneously, so it will definitely take some time. We tested uploading a 26 MB video on our local installation, and it was uploaded in 2 seconds or less. Try to temporarily deactivate your plugins to see if that improves the upload speed, or try uploading a maximum of 5 files at a time. Let us know the result.

    Best regards,
    Ismael

    #1489805

    Hi Ismael

    I have already tried deactivating all plugins. So with no plugins activated, uploading one 50KB webp file it took 58 seconds. If I then deactivate Enfold and just use the 2025 theme. the same file only takes about 1 seconds. I am on 145 MB/s broadband speed with 30MB/s upload.

    So it only seems to be when Enfold is activated

    Regards
    Colin

    #1489806

    Also just to point out we wouldnt normally upload as many files, its just that we are trying to change some of the images from larger jpegs to small webp. Our client would typically upload 30 images per listing totalling maybe 2MB

    #1489811

    I Ismael

    I just installed a completely clean copy of WordPress onto a different server and uploaded 2MB of webp images. This took 18 seconds. I then installed Enfold, and uploaded the same 2MB of images and it took 2 minutes 37 seconds. Please see the video https://youtu.be/ApIV-BoMuhk

    I think this is a fairly serious issue and is causing my clients major problems, particularly the cleint that has brought this to my attention.

    Are you able to look into this as a matter of urgency.

    Many Thanks
    Kind Regards
    Colin

    #1489877

    Hi,

    We are not encountering this issue on our end, and there have been no similar reports from other users, so this is probably related to your server configuration or specifications. Where is the site hosted, and what are the server specs?

    If you have access to your PHP configuration or php.ini, try to add the following options:

    max_execution_time = 300
    memory_limit = 512M
    upload_max_filesize = 20M
    

    You can also add it in the .htaccess file in the root directory of your WordPress installation.

    php_value max_execution_time 300
    php_value memory_limit 512M
    php_value upload_max_filesize 20M
    

    Another thing you could try is disabling the thumbnails generated by the theme using this filter in the functions.php file:

    
    add_action('init', 'ava_remove_enfold_image_thumbnails');
    function ava_remove_enfold_image_thumbnails() {
      remove_image_size('square');
      remove_image_size('featured');
      remove_image_size('featured_large');
      remove_image_size('portfolio');
      remove_image_size('portfolio_small');
      remove_image_size('gallery');
      remove_image_size('magazine');
      remove_image_size('masonry');
      remove_image_size('entry_without_sidebar');
      remove_image_size('entry_with_sidebar');
      remove_image_size('shop_thumbnail');
      remove_image_size('shop_catalog');
      remove_image_size('shop_single'); 
      remove_image_size('shop_gallery_thumbnail');
    }
    add_filter( 'intermediate_image_sizes_advanced', 'ava_intermediate_image_sizes_advanced_mod' );
    function ava_intermediate_image_sizes_advanced_mod( $sizes ) {
     unset( $sizes['large']);
     unset( $sizes['medium_large']);
     return $sizes;
    }
    

    We recommend reaching out to your hosting provider for additional assistance.

    Best regards,
    Ismael

    #1489880

    Hi Ismael

    I have already tried all if the above suggestions. The execution time is set to 2048M for memory limit, execution time upload file size and the above thumbnails are already removed. And only the minimum file sizes are being created

    ;+StackCP
    asp_tags = 1
    auto_append_file = 
    auto_prepend_file = 
    display_errors = 0
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    file_uploads = 1
    max_execution_time = 300
    max_file_uploads = 16
    max_input_time = 60
    max_input_vars = 2500
    memory_limit = 2048M
    output_buffering = 0
    post_max_size = 2048M
    short_open_tag = 1
    upload_max_filesize = 2048M
    zlib.output_compression = 1
    ;-StackCP
    #EOF

    The site is with 20i. Would there be something in the server setup that needs turning off/on that is clashing with the enfold theme?

    SERVER
    Server architecture	Linux 5.14.0-570.25.1.el9_6.x86_64 x86_64
    Web server	Apache
    PHP version	8.3.26 (Supports 64bit values)
    PHP SAPI	fpm-fcgi
    PHP max input variables	2500
    PHP time limit	300
    PHP memory limit	2048M
    Max input time	60
    Upload max filesize	2048M
    PHP post max size	2048M
    cURL version	8.1.2 OpenSSL/1.1.1t-fips
    Is SUHOSIN installed?	No
    Is the Imagick library available?	Yes
    Are pretty permalinks supported?	Yes
    .htaccess rules	Custom rules have been added to your .htaccess file.
    robots.txt	Your site is using the dynamic robots.txt file which is generated by WordPress.
    Current time	2025-10-06T07:39:04+00:00
    Current UTC time	Monday, 06-Oct-25 07:39:04 UTC
    Current Server time	2025-10-06T08:38:59+01:00
    
    DATABASE
    Database Extension	mysqli
    Server version	10.6.18-MariaDB-log
    Client version	mysqlnd 8.3.26
    Database username	W7-RUgbyB0aTs-1724-353037373107
    Database host	wpdb-32.hosting.stackcp.net
    Database name	W7-RUgbyB0aTs-1724-353037373107
    Table prefix	gko86fse9kn6r_
    Database charset	latin1
    Database collation	
    Maximum allowed packet size	134217728
    Maximum connections number	1024
    
    IMAGE HANDLING
    Active editor	WP_Image_Editor_Imagick
    ImageMagick version number	1809
    ImageMagick version string	ImageMagick 7.1.1-43 Q16-HDRI x86_64 22550 https://imagemagick.org
    Imagick version	3.7.0
    File uploads	Enabled
    Maximum size of post data allowed	2048M
    Maximum size of an uploaded file	2048M
    Maximum effective file size	2 GB
    Max simultaneous file uploads	16
    Imagick Resource Limits	
    area: 502 GB
    disk: 9.2233720368548E+18
    file: 768
    map: 251 GB
    memory: 126 GB
    thread: 1
    time: 0
    ImageMagick-supported file formats	3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVCI, AVI, AVIF, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FFF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, JXL, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MDC, MEF, MIFF, MKV, MNG, MONO, MOS, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, RWL, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, SRW, STEGANO, STI, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCBCR, YCBCRA, YUV
    GD version	2.3.3
    GD supported file formats	GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    Ghostscript version	9.54.0

    Regards
    Colin

    #1489884

    Hi Ismael

    As you don’t experience this issue, our hosting company would like to compare your hosting set-up with theirs to see what the differences are. Are you able to supply that, plus speeds of the file upload on you end, along with your internet speeds, and the location of where the server is hosted.

    Many Thanks
    Regards
    Colin

    #1489912

    Hi,

    The configuration looks typical for WordPress installations — almost the same as our local installation. What configuration did you add to your .htaccess file?

    Another thing you can try is to switch the default image editor from WP_Image_Editor_Imagick to WP_Image_Editor_GD to see if that helps.

    https://developer.wordpress.org/reference/hooks/wp_image_editors/

    We tried uploading six files to the media library, around 6MB, and it took about 10 seconds or less. It’s not particularly fast, but not terribly slow either. We also noticed that you’re using a custom media library plugin (WP Media Folder), which could be contributing to the slowdown. Have you tried disabling this plugin to see if it makes a difference?

    Best regards,
    Ismael

    #1489957

    Hi Ismael

    I’ve disabled all plug-ins. I tested the upload time with and without WP Media Folder enabled and there wasn’t any diffrence. However changing from WP_Image_Editor_Imagick to WP_Image_Editor_GD has mad a massive difference. The upload speed has risen by 146%, so now only takes a few seconds to upload an image.

    Thanks for your help on this.

    Regards
    Colin

    #1489971

    Hi,

    Glad to know that switching to another image editor or image extension resolved the issue. Please feel free to open a new thread if you have any further questions.

    Have a nice day.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Extremely slow image uploads and admin pages when using Enfold’ is closed to new replies.