Problems generating thumbnails from PNG's

3 posts by 3 authors in: Forums > CMS Builder
Last Post: June 22, 2010   (RSS)

By aev - June 21, 2010

Hi,

in a couple of our CMSB installs we have trouble generating thumbnails from PNG files.

We get his error:
Warning: imagecreatefrompng(): '/home/users/clientname/www/cmsAdmin/uploads//image_001.png' is not a valid PNG file in /home/users/clientname/www/cmsAdmin/lib/image_functions.php on line 39 Error opening image file!

Can the double slash // cause this? I don't know why it's there.

I have contacted the ISP hosting these sites and they claim everything works as normal on their system.
What can we do to further investigate this? Do yo have some kind of test script we can upload to check what is working and not?

The server is running a pretty up-to-date verison of php (v5.2.13) and have GD enabled with PNG support.
Please let me know if you need more server details or login information.

-aev-

Re: [aev] Problems generating thumbnails from PNG's

By Dave - June 22, 2010

Hi Aev,

I sent you a test script to forward to your host. Let me know what they say (maybe let's move it to email).

Thanks!
Dave Edis - Senior Developer
interactivetools.com