#254 Corrupt thumbnails

open
nobody
SQL (6)
5
2009-01-09
2009-01-09
Coolius
No

It can happen that the thumbnail gets corrupted somehow (timeout? duplicated https reuqest?) while auto thumbnail is activ.

Following is written in the database as linpha_photos.thumbnail:

Error while creating image ./albums/Frederick/04 Zweiter Monat/IMG_0371.JPG! Return Value: 9<br />convert -quality 75 -size "150x100" "./albums/Frederick/04 Zweiter Monat/IMG_0371.JPG"[0] -resize "150x100" -strip -colorspace RGB "./sql/tmp/IMG_0371.JPG_8086ed85057f528f1a43bf83159dfe6d_0.jpg"<br /><pre>./sql/tmp/IMG_0371.JPG_8086ed85057f528f1a43bf83159dfe6d_0.jpg</pre> |

No thumbnail is generated. Update of thumbnails as well as databasetable check fails.

Proposal:
- Add check of plausibility of database to database plugin. e.g. where thumbnail like "Error%" or any better check

- check on update of thumbnails wheter tumbnail is plausible

- best: try to avoid error message

Work around:
put thumbnail to NULL in DB

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks