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 Jason - June 21, 2010

Hi,

It could be an issue with the images themselves. Does it happen with all png files, or just some of them?

If you could email your CMS and FTP details along with a copy of an image that isn't working to jason@interactivetools.com, I can take a look.

Please just email this information, don't post it to the forum.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/