I have tried looking around for an answer but all firebase download topics seem to be about just getting the download link from storage to display. I saw a similar one but it was in ios/swift and I didn't grasp it.
My question is if I already have the link and I am using it. How can a user click on a button and it will locally download on their computer?
I thought the would work but it just takes me to the image.
My download storage link from firebase are currently stored in my vuex store. I then access the url and other properties by pushing them to an array that is why the href is "card.imageurl[0]
<a #click="download" :href="card.imageurl[0]" class="download" download><i class="material-icons">cloud_download</i></a>
I appreciate any help hopefully this is not a duplicate but I have tried looking around for a while on this.
Thanks
I'm uploading images in Firebase and it's working great.
However, when I look at the Firebase console folder where the images are stored only a couple image are listed even though there should be more.
On each image upload, I'm getting a successful callback and a 'downloadURL' that I can use to view the image. Which is great!
But then in the fb console only a few of these images are showing. Here for example there are three files listed, but there should be 10+.
I'm kind of at a loss of what might be going on here. Any ideas?
I have about 1,000 image assets which I want to add to Firebase Storage (these assets are like product images/product variation images for a product page).
By adding the corresponding download image link into the appropriate node within Firebase Database, users are able to retrieve the image on their app.
I can manually go into Firebase Storage -> image path -> image and copy the download link, them add it to the Firebase Database node. However doing this over 1,000+ assets is not feasible. Does anyone know how I can achieve this programmatically?
so after much research. best solution was to get storage somewhere else (i.e. Amazon S3), store there, and upload links to fb in proper node.
I'm trying to make a gallery photo on website and my client need to upload these photos unto dropbox or google drive.
I've embed a gallery from google drive in my website and it works perfectly (which means I can see the photos). But, when I click on a photos, it redirects me on google drive and its not a good rendering.
I've also try this solution : pull and display images in website gallery from dropbox directory. It seems to be a good solution but unfortunatly, nothing appears on my website.
Anyone has a solution? I really need my client to manage himself is gallery photo without having to put it on FTP.
Thanks
Take a look at the Google Drive SDK and API, which allows you to get the list of files in a Drive folder and URLs that can be used to view the image directly. Depending on your needs, you can turn this into a gallery, use a lightbox to display the image, or whatever you specifically need.
You may also want to take a look at using Drive to publish website content. You may still need to write some code to create the gallery portion, but this provides an easy public place to store and manage the uploaded images.
Objective
We're developing a PHP console app that will be a running as a daemon using the PEAR System_Daemon class. The script is ideally a timed loop, that executes indefinitely until terminated.
What this loop does is query a database of players of our FB game on timed intervals, and then make posts using certain criteria to their Facebook walls/timelines.
Our app will be hosted on our Facebook page, which will also contain some albums, photos and videos that we are using to feature on these posts.
Posting on Walls/Timelines
My question is, whether we would be able to use the Facebook PHP SDK to, from within our console application, running as a service, share these albums from our console app, as posts on the users timeline, without having need for confirmation from the FB user in any way, providing we have acquired the appropriate extended permissions of course.
Appearance Sharing vs Uploading
Will the appearance for sharing an album, or video appear the same, on the users timeline as if they posted it themselves, or will the post simply appear as a thumbnail with text next to it.
I've noticed that Facebook nowadays posts photos in a neat collage with more than one thumbnail, and this is the effect that we want to achieve. Also, if not mistaken, I believe that videos added to your wall post also shows inline, as a nice large video, instead as a thumbnail.
Would we rather have to upload these images to a Facebook users account, and if so, is it possible to create new Albums on a users FB account, using the PHP SDK, and the required extended permissions granted? Or can we achieve the same look and feel by simply sharing?
Hosting media externally
Can we add photo's to users profiles, hosted externally perhaps, that will allow the PHP script to post them to an album on their account without needing to upload?
We are trying to avoid uploads, as this will have a performance impact on the server side application.
Providing you request the correct permissions, you can upload photos to the user's account using the Graph API quite easily. To post multiple photos you will have to make multiple API calls. If you post to the wall, the photos will be added to the "Wall Photos" album.
The Graph API does allow you to create albums on the user's behalf, and lets you upload photos straight to the album too. This will create photo stories on the wall like the image you posted in your question.
What you can do, however, is host the files externally. Facebook will always load the images from their server so you have to upload them to facebook. If you want to host the photos externally, you must post the images to the user's wall / timeline as links, but these won't appear under the user's Photos or under Albums.
Hope this answers all your questions. Documentation for uploading photos and creating albums can be found on the Facebook developer website.