View Full Version : Bulk Create Thumbnails
October 23rd, 2006, 09:41 AM
Hi, I wrote a script to convert a datafeed and import it into reviewpost. The names of the images are in the database and everything works perfectly. I just need to create the thumbs and previews for all the images. I was going to write a script to copy the images into the proper directory structure /data/catid/large/ and then use the scan database options in the admin area to create the previews and thumbs. I just tested it though and the thumbnails and previews are not created. Will this function not work this way? Am I missing something?
October 23rd, 2006, 03:57 PM
previews are not created those are based off the original images when you upload it and they are resized. You can only create a thumbnail off your preview image thus you might need to rethink what your doing in your script for it to work properly
October 23rd, 2006, 09:31 PM
Thanks Chuck! I took a look at image-inc.php and I think I'll just borrow some code from there and write it so it resizes the images and creates the thumbnails when it moves them into the folders.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.