Search code examples
craftcms

Craft2: Images are not being loaded properly from “cpresources/”


I've copied the asset folders which fixed most of the webpages, however specific images (namely from cpresources/) still giving 404s.


Solution

  • Check whether PHP module gd is enabled and add the following line to your config/general.php:

    'imageDriver' => 'gd',