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.
Check permissions on the albums directory
The albums directory (and its subdirectories edit, thumb, userpics) must be writable by the web server. Set them to 755. On Ultra Web Hosting, PHP runs as your user, so 755 is sufficient.
01. Check Directory Permissions
- Open cPanel File Manager
- Navigate to your Coppermine installation directory
- Right-click the
albumsfolder > Change Permissions - Set to 755
- 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_limitto at least256M - Set
upload_max_filesizeto handle your largest images
See Changing Maximum Upload Size for details.
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 TicketFrequently 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
- Set albums directory to 755 including subdirectories
- Check image library setting - Try GD2 or ImageMagick (/usr/bin/convert)
- Increase PHP memory_limit to at least 256M for large images
- Consider modern alternatives like WordPress galleries or Piwigo
- Do not use 777 permissions - 755 is correct on our servers
Photo gallery troubleshooting · Last updated November 2026 · Browse all PHP Scripts articles
