The plugin is not generating thumbnails (it defines a function UtilityController_Thumbnail_Create() but it is never used). As a result, it creates links to non-existent thumb images; some browsers will supply a broken image icon, but some, notably FF, will just ignore the img tag, which makes it look as if no file has been attached to a post.
I tried to insert the UtilityController_Thumbnail_Create() function into PostController_Upload_Create() but without success.
Answers
I ran into this a little while back. opted to hack around it. do some searching and you should find the thread. it's a functional hack for the most part.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thx. I have fixed it by simply implementing the thumbnail generation in MediaModel::ThumbnailUrl(), instead of it returning a random invalid path when the thumb does not exist.
But at least a plugin that is not working should not be marked as Approved, it suggests no testing is being done.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •do you mind elaborating on this? what file(s) did you touch?
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •class.mediamodel.php; added the following function:
And then modfied relevant branch in ::ThumbUrl() (two lines marked --->) like this:
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Above code didn't work for me:
And in ::ThumbUrl() (two lines marked --->) like this:
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •This behavior appears to be browser-specific.
With: Vanilla 2.0.18.4 FileUpload 1.5.2
Google Chrome 19.0.1084 56 m - Works flawlessly Firefox 11.0 - No preview displayed IE 8.0 - Multiple issues, including the editor toolbar being extended by multiple lines and a client-side script hanging. Upload works after killing the client-side script when prompted.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Pardon the formatting. I had line breaks in there...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Here are my test results:
Vanilla 2.0.18.4 FileUpload 1.5.2 MacOSX 10.7.4
Safari - Uploads file, but stalls with progressbar at 100% - no image in post FireFox 13.0.1 - Works for JPEG but no preview for PNG files. Chrome 20.0.1132.47 - JPEG Works but broken image preview for PNG files.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •