Thumbnail Icons get lost
The fix for #33 (closed) in 1c3c3c79 seems to break rendering of the icons, after the resource which only had a thumbnail has been edited once.
Before editing:
- Extension zip file resource had a thumbnail image set, but no rendering image. The thumbnail image could not be changed or removed (as in #33 (closed)), but it was visible in the gallery and on the resource detail page.
After editing and saving the resource via resource form:
- In the admin interface, there is still a thumbnail image set, but no rendering image. It doesn't look any different on the db side, weirdly. In the gallery and on the resource detail page as well as in the form, the default 'package' icon is used.
After editing:
(if the user still has the old picture file, fixing this is easy, one only needs to add a 'rendering image' via the form - perhaps this bug is irrelevant? Still, I expected it to work differently after reading the code - it looked like it was supposed to move the old file over to the new db field).