Comments (3)
Hi,
can you please upload an example?
from nggallery.
I have the very same error.
This is my JS code:
`var app = angular.module('galley', ['jkuri.gallery']);
app.controller('Ctrl', ['$scope', '$document', function($scope, $document){
$scope.images = [
{"thumb": "images/thumbs/piraten-01.jpg", "img": "images/views/piraten-01.jpg", "downloadSrc": "images/downloads/piraten-01.jpg"},
{"thumb": "images/thumbs/piraten-02.jpg", "img": "images/views/piraten-02.jpg", "downloadSrc": "images/downloads/piraten-02.jpg"},
{"thumb": "images/thumbs/piraten-03.jpg", "img": "images/views/piraten-03.jpg", "downloadSrc": "images/downloads/piraten-03.jpg"},
{"thumb": "images/thumbs/piraten-04.jpg", "img": "images/views/piraten-04.jpg", "downloadSrc": "images/downloads/piraten-04.jpg"}
];
}]);`
And here is the HTML code:
`
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js"></script>
<script src="https://code.jquery.com/jquery-1.12.2.min.js" integrity="sha256-lZFHibXzMHo3GGeehn1hudTAP3Sc0uKXBXAzHX1sjtk=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="js/ngGallery.js"></script>
<script src="js/app.js"></script>
</head>
<body ng-controller="Ctrl">
<div class="container">
<div class="content">
<ng-gallery images="images" thumbs-num="7"></ng-gallery>
</div>
</div>
</body>
I hope you can sort this out for me.
Grtz,
MaccerC
from nggallery.
My code is the documentation example that after update not work for me, I have not yet adapted to my needs.
Simple gallery with 11 thumbs and images.
You will not have the same mistake?
Thankyou and sorry for my bad english
Satore
from nggallery.
Related Issues (20)
- How to set downloadSrc? HOT 1
- Wrong size of ng-thumbnails-wrapper if thumbnails width is not equal
- No close button, downloadbutton and navigation arrows HOT 6
- Errors HOT 2
- Page scrolling in background HOT 3
- TypeError: Cannot read property 'img' of undefined HOT 3
- Image keyframe animation (fadein) make it shake at the end of the animation
- Cannot override default baseClass and thumbClass
- how to resolve a error Cannot read property '0' of undefined HOT 2
- Original image not showing
- Delete action HOT 3
- Image paging HOT 1
- Add ability to close gallery when click to the overlay body than using ESC key
- Add git tags
- Which files need to be hosted? HOT 1
- ngAnimate preserves photo for 0.5s
- Demo URL broken HOT 3
- Delete action was merged?
- Image orientation cannot be manipulated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nggallery.