$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>WP Large Images crash page|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

WP Large Images crash page

matteradmin10PV0评论

I am experiencing an issue where multiple 7MB image with 4000px on widest side in a photo gallery crashes a wordpress page -- or the page becomes non-respondant.

I use smush to size my images.

any ideas other than smaller images? or less images?

I am experiencing an issue where multiple 7MB image with 4000px on widest side in a photo gallery crashes a wordpress page -- or the page becomes non-respondant.

I use smush to size my images.

any ideas other than smaller images? or less images?

Share Improve this question asked Sep 16, 2018 at 3:55 sethgsethg 313 bronze badges 1
  • 1 don't use smush or don't use such a big images. – Mark Kaplun Commented Sep 16, 2018 at 4:38
Add a comment  | 

1 Answer 1

Reset to default 0

I suggest using a gallery plugin that will show thumbnail images and then load the large image after the thumbnail is clicked. I've seen this one used.

Also, in most cases, 4000px images are not needed if your goal is only to let people see your photography. 1200px wide is plenty large enough. I would also suggest making them .jpg images and compressing them to about 70% in photoshop, instead of using smush - if quality is a concern.

Downloading 14+ MB of files just to show the webpage is a very expensive process.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far