Comments on: Create thumbnails for all images in a directory https://blog.samyapp.com/create-thumbnails-for-all-images-in-a-directory/ Mon, 16 Mar 2009 17:36:02 +0000 hourly 1 https://wordpress.org/?v=4.8.7 By: sam https://blog.samyapp.com/create-thumbnails-for-all-images-in-a-directory/#comment-69 Mon, 16 Mar 2009 17:36:02 +0000 https://blog.samyapp.com/?p=134#comment-69 Hi Andrew,

Apologies for the late reply. If you’re still interested, I think the problem is probably that your version of php does not have the directoryiterator class – this script needs php 5+ to work.

If there’s any demand for a php4 version of this script I’ll modify the example when I have some time.

Cheers,
Sam

]]>
By: Andrew https://blog.samyapp.com/create-thumbnails-for-all-images-in-a-directory/#comment-68 Sun, 22 Feb 2009 15:28:04 +0000 https://blog.samyapp.com/?p=134#comment-68 Hi I seen get this

Fatal error: Cannot instantiate non-existent class: directoryiterator in /homepages/6/

New to php so not sure why ! I guess its the directoryiterator thats causing the problem.

If you could help that would be fab.

Thanks in Advance
Andrew

]]>