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

does nothing for me #5

Open
jeffthompson1971 opened this issue Apr 8, 2016 · 9 comments
Open

does nothing for me #5

jeffthompson1971 opened this issue Apr 8, 2016 · 9 comments

Comments

@jeffthompson1971
Copy link

does nothing for me. i have all the dependencies in the correct order. I can put breakpoints in the file and see it create a new Canvas and then just does nothing. is this still supposed to work?

<script src="lib/localforage/dist/localforage.js"></script>
<script src="lib/angular-localforage/dist/angular-localForage.js"></script>
<script src="lib/imagenie/src/imagenie.js"></script>

verify all are loaded ...then i have:

    <div imagenie="http://storage.googleapis.com/threebatdrone-listing-photos/9-09165204.jpeg"> </div>

shows nothing...

UPDATE - installed with bower and it did NOT install the agular version.. once i installed it it works.... but i dont' see it stored anywhere in teh file system in teh debugger... where is thei base64 string stored?

@saniyusuf
Copy link
Owner

It uses the Local forage so it will be in the indexdb or WebSQL resource of your browser @jeffthompson1971

@pradeepch
Copy link

Hey saniyusuf,
I am also having same issue, Its not working for me, could you give some hint or some demo project where its working?

@ccastroelo
Copy link

ccastroelo commented Nov 6, 2016

Hello Saniyusuf,
I also could not make it work. I checked it several times. This type of call is supported?
<img ng-src="{{category.image.url()}}" imagenie="{{category.image.url()}}" />

@saniyusuf
Copy link
Owner

@ccastroelo all you need is to add the attribute no need for passing the src to imagenie it will pick it up from the ng-src

@ccastroelo
Copy link

ccastroelo commented Nov 6, 2016

Hi thanks for your reply. I just found out it was because I was not putting the
var myApp = angular.module("myApp", ["imagenie"

But now when I try to run in the simulator it just displays a blank screen. If I take the injection, the simulator works but does not make the cache

@saniyusuf
Copy link
Owner

Can you post the error you are getting. Also have you made sure you have
installed Localforage?

[image: photo]
Sani Yusuf
Founder, Haibrid LTD
w:http://www.haibrid.com
http://github.com/saniyusuf
http://stackoverflow.com/users/1714088/sani-yusuf
http://about.me/saniyusuf
http://linkedin.com/in/saniyusuf https://twitter.com/saniyusuf
Get a signature like this: Click here!
http://ws-promos.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS9lbWFpbC1pbnN0YWxsP3dzX25jaWQ9NjcyMjk0MDA4JnV0bV9zb3VyY2U9ZXh0ZW5zaW9uJnV0bV9tZWRpdW09ZW1haWwmdXRtX2NhbXBhaWduPXByb21vXzU3MzI1Njg1NDg3Njk3OTIiLCAiZSI6ICI1NzMyNTY4NTQ4NzY5NzkyIn0=&u=334949776635771

On 6 November 2016 at 15:51, ccastroelo [email protected] wrote:

Hi thanks for your reply. I just found out it was because I was not
putting the
var guarastour = angular.module("myApp", ["imagenie"

But now when I try to run in the simulator it just displays a blank
screen. If I take the injection, the simulator works but does not make the
cache


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGHLgU_NkXABp1VzW7qvuGC52TPuAV_ks5q7fdtgaJpZM4ICqAr
.

Kind Regards
[image: photo]
Sani Yusuf
Founder Of Haibrid
http://github.com/saniyusuf
http://stackoverflow.com/users/1714088/sani-yusuf
http://about.me/saniyusuf
http://linkedin.com/in/saniyusuf https://twitter.com/saniyusuf
Get a signature like this:
http://ws-stats.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS8/dXRtX3NvdXJjZT1leHRlbnNpb24mdXRtX21lZGl1bT1lbWFpbCZ1dG1fY2FtcGFpZ249cHJvbW9fNDUiLCAiZSI6ICJwcm9tb180NV9jbGljayJ9
Click
here!
http://ws-stats.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS8/dXRtX3NvdXJjZT1leHRlbnNpb24mdXRtX21lZGl1bT1lbWFpbCZ1dG1fY2FtcGFpZ249cHJvbW9fNDUiLCAiZSI6ICJwcm9tb180NV9jbGljayJ9

@ccastroelo
Copy link

ccastroelo commented Nov 6, 2016

When I run the simulator does not appear any error on the console (only blank screen on simulator). And when I run in the browser I can see the database created.
LocalForage and angular-LocalForage installed.
Thanks for your help, but I think bad take your time. I will make a simple app to try to identify what is happening, I think is some incompatibility with a plugin I'm using. And if I have any news or solve the problem, I put here.

@saniyusuf
Copy link
Owner

@ccastroelo It's okay maybe you can create a GIST of your code so I can help

@ccastroelo
Copy link

Good news, now is working.
I come from native iPhone development, then, to me, is not very easy debugging ionic.
The first problem was a White Screen Of Death, after debug I discovered that imagenie.js was not being copied to the device, I only change it from place.
And last, I was using "{{category.image.url ()}}" as an image that was generating the error "TypeError: string is not the function" sufficed switch to {{ "category.image.url"} } and it worked.

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

4 participants