PHP Scripts

Coppermine Gallery cannot create thumbnails

Updated November 2026 11,116 views 3 min read
PHP Scripts | Updated November 2026

If Coppermine Photo Gallery cannot create thumbnails or intermediate-sized images, the issue is usually that the image processing library (GD or ImageMagick) is not configured correctly, or the albums directory does not have write permissions.

01. Check Directory Permissions

  1. Open cPanel File Manager
  2. Navigate to your Coppermine installation directory
  3. Right-click the albums folder > Change Permissions
  4. Set to 755
  5. Repeat for subdirectories: albums/edit, albums/thumb, albums/userpics

Via SSH:

chmod -R 755 ~/public_html/coppermine/albums

02. Configure the Image Library

In Coppermine's admin panel, go to Config > General Settings > Thumbnail settings and check the image processing method:

  • GD2 - PHP's built-in image library. Available on all Ultra Web Hosting servers. Select "GD2" if you are unsure.
  • ImageMagick - More powerful, handles larger images better. Path on our servers: /usr/bin/convert. See Path to ImageMagick.

If GD2 is selected but not working, try switching to ImageMagick (or vice versa) and test again.

03. PHP Memory Limit

Large images require significant memory for thumbnail generation. If your PHP memory limit is too low, the process fails silently. Increase it via cPanel > Software > MultiPHP INI Editor:

  • Set memory_limit to at least 256M
  • Set upload_max_filesize to handle your largest images

See Changing Maximum Upload Size for details.

Modern Alternatives

Coppermine has not seen active development in some time. If you are setting up a new photo gallery, consider WordPress with a gallery plugin (NextGEN Gallery, Envira Gallery) or a dedicated solution like Piwigo, which is actively maintained and available via Softaculous in cPanel.

Gallery Still Not Working?

If thumbnails still are not generating after checking permissions and the image library, open a ticket.

Open a Support Ticket

Frequently Asked Questions

Why can Coppermine not create thumbnails?

Usually the image library (GD or ImageMagick) is not selected correctly in Coppermine's config, or the albums directory lacks write permission, or PHP's memory limit is too low to process the image. Checking those three resolves most cases.

How do I fix Coppermine thumbnail creation?

In Coppermine admin, set the image processing method to GD or ImageMagick (ImageMagick handles larger images better) and, for ImageMagick, set the path to /usr/bin. Then make sure the albums directory is writable (typically 755) and raise the PHP memory limit if large images fail.

What directory permissions does Coppermine need?

The albums directory and its subfolders need to be writable by the web server, typically 755, so Coppermine can save thumbnails and intermediate images. If uploads succeed but thumbnails fail, permissions or the image library are the usual cause.

Why do only large images fail to make thumbnails?

Large images need more memory to process, so a low PHP memory_limit causes thumbnail generation to fail on big files while small ones work. Raise the memory limit in the MultiPHP INI Editor and use ImageMagick, which is more memory-efficient than GD for large images.

Quick Recap

  1. Set albums directory to 755 including subdirectories
  2. Check image library setting - Try GD2 or ImageMagick (/usr/bin/convert)
  3. Increase PHP memory_limit to at least 256M for large images
  4. Consider modern alternatives like WordPress galleries or Piwigo
  5. Do not use 777 permissions - 755 is correct on our servers

Photo gallery troubleshooting · Last updated November 2026 · Browse all PHP Scripts articles

Share: X in Reddit f Email
  • 145 Users Found This Useful

Was this answer helpful?

Related Articles

Moodle: Notice: Only variable references should be returned by reference

PHP Scripts | Updated November 2026 The "Notice: Only variable references should be returned...

How do I reset Joomla administrator password?

PHP Scripts | Updated November 2026 If you have lost your Joomla administrator password and...

How to turn off magic quotes gpc for Joomla 3

PHP Scripts | Updated January 2026 The magic_quotes_gpc setting was a PHP feature that...

Strict Standards Error in Joomla

PHP Scripts | Updated January 2026 Strict Standards errors in Joomla (such as "Strict...

How to reset the admin password in Drupal

PHP Scripts | Updated January 2026 If you are locked out of your Drupal admin panel, you can...



Save 30% on web hosting - Use coupon code Hosting30