imagenie icon indicating copy to clipboard operation
imagenie copied to clipboard

does nothing for me

Open jeffthompson1971 opened this issue 8 years ago • 9 comments

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/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?

jeffthompson1971 avatar Apr 08 '16 03:04 jeffthompson1971

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

saniyusuf avatar Jul 16 '16 18:07 saniyusuf

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?

pradeepch avatar Jul 28 '16 12:07 pradeepch

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()}}" />

ccastroelo avatar Nov 06 '16 02:11 ccastroelo

@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

saniyusuf avatar Nov 06 '16 03:11 saniyusuf

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

ccastroelo avatar Nov 06 '16 15:11 ccastroelo

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 https://github.com/saniyusuf/imagenie/issues/5#issuecomment-258689702, 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

saniyusuf avatar Nov 06 '16 15:11 saniyusuf

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.

ccastroelo avatar Nov 06 '16 16:11 ccastroelo

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

saniyusuf avatar Nov 06 '16 20:11 saniyusuf

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.

ccastroelo avatar Nov 06 '16 23:11 ccastroelo