Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image preview of file #314

Open
rMiroslav opened this issue Dec 13, 2016 · 0 comments
Open

Image preview of file #314

rMiroslav opened this issue Dec 13, 2016 · 0 comments

Comments

@rMiroslav
Copy link

rMiroslav commented Dec 13, 2016

Hi, thanks for this awesome plugin! I have an Issue.... if upload an image is showing an image but if i upload a file i get an error ....I want to show a file icon if the file I upload is not an image

                <div class="image" ng-if="image">
                    <img alt="image" class="img-responsive" flow-img="image">
                </div>

                <div class="icon" ng-if="!image">
                    <i class="fa fa-file"></i>
                </div>
                <div class="file-name">
                    {{image.name}}
                    <br />
                    <small ng-click="$flow.removeFile(image)">Remove</small>
                </div>
            </a>

        </div>
    </div>

Thanks, and sorry for my english

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant