|
|
MindTouch OpenGarden > Deki Wiki > 良く有る質問 FAQ > File Management > How do I...Mass recreate image previews?
How do I...Mass recreate image previews?From $1目次ヘッダーがありませんIf you've imported a mass number of images from a previous version of Deki Wiki, your image previews may not have been created properly. Dekihost will attempt to create thumbnails for rows in the `attachments` mySQL database table if:
So to force Dekihost to take another pass at preview generation, you'd want to run a SQL query like the following: (warning, back-up your attachments database prior to running this query; use at your own risk!) UPDATE `attachments` SET at_image_width = NULL, at_image_height = NULL WHERE at_extension IN ('jpg', 'gif', 'jpeg', 'png', 'bmp') AND at_image_width = 0 AND at_image_height = 0;
After running this, try going to a page with images, and they should start showing previews.
タグ:
|