Archive Upload module produces a 'no thumbnail' item in album

thirdstone

Joined: 2006-04-08
Posts: 9
Posted: Sat, 2006-04-22 10:28

I've just uploaded a zip with subdirectories to create a number of albums. The process worked fine except a number of the albums had a 'no thumbnail' item included with the photo's. When clicked an Error is thrown.
All photos in each album are present so this 'no thumbnail' item generated unnecessarily. I would like to know how to remove it if possible? I'm using the Siriux theme by the way.

Quote:

Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: math: parameter x is empty

* in modules\core\classes\GallerySmarty.class at line 109 (gallerycoreapi::error)
* in lib\smarty\plugins\function.math.php at line 53 (gallerysmarty::trigger_error)
* in C:\g2data\smarty\templates_c\%%2703156936\%%36^365^36582BAC%%photo.tpl.php at line 37
* in lib\smarty\Smarty.class.php at line 1861
* in modules\core\classes\GalleryTemplateAdapter.class at line 659 (gallerysmarty::_smarty_include)
* in C:\g2data\smarty\templates_c\%%2703156936\%%A1^A1A^A1AD6E1C%%theme.tpl.php at line 53 (gallerytemplateadapter::theme)
* in lib\smarty\Smarty.class.php at line 1258
* in modules\core\classes\GallerySmarty.class at line 90 (smarty::fetch)
* in modules\core\classes\GalleryTemplate.class at line 206 (gallerysmarty::fetch)
* in main.php at line 418 (gallerytemplate::fetch)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1.1
PHP version 4.4.2 apache2handler
Webserver Apache/2.0.55 (Win32) PHP/4.4.2
Database mysql 4.1.7-nt
Toolkits ImageMagick, NetPBM, Gd
Operating system Windows 2000
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2

 
thirdstone

Joined: 2006-04-08
Posts: 9
Posted: Sun, 2006-04-23 08:10

I think the link might be created when a Windows folder has been zipped that has previously been used in the Thumbnail view in Window Explorer. There seems to be a 'Thumbs.db' created for this view and it is only visible when Operating System Files are unhidden (in XP anyway). So I guess to stop the 'no thumbnail' link appearing you'd have to remove this file, before zipping, if the folder has been viewed in thumbnail mode.

Unfortunately I have already uploaded a bunch of images so I'd like to remove the link instead of re-uploading. Any idea how to manually remove the link to a broken item?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-04-24 19:59

that's a bug in siriux theme in displaying non-images.. i'll take a look at that.

either turn off the imagemap navigation feature in siriux theme or switch to a different theme.. then you can delete those items, then switch your settings back.

 
thirdstone

Joined: 2006-04-08
Posts: 9
Posted: Wed, 2006-04-26 05:05

Thanks for that. Switched to Matrix and got rid of them then switched back.