I have a lot of pictures that is going to be hosted online on a dedicated server. Is there a way for me to retrieve URL's from these images and attach them to Access fields automatically?
Edit:
I want to add about 1000 pictures taken from a cell phone to a Hostgator server. The cell phone is already connected to a computer which can access all the images taken from the phone. Let's say the product is a book which has field name of Name, Price and Image. I don't know exactly how the automation would work but I was thinking of something like this:
The user inserts the name of the book and the price of the book but in the place of the image the user clicks a button which uploads the image to Hostgator and also retrieves the URL of the image from there and pastes it into the field.
I have limited experience in Access and VBA so I don't know if something like this is possible. Any other alternative to store image online and get the url pasted to the image field will be greatly appreciated.
I have no knowledge about Hostgator nor the upload process, but the download part can be resolved as explained in detail in my article with full code and demos:
Show pictures directly from URLs in Access forms and reports
Code is too much to post here, but it can also always be found at GitHub:
VBA.PictureUrl
Related
I'm a total amateur regarding coding and API and my question might appear totally stupid to most of you advanced coders, but I can't help myself:
I have got a file which contains API links. I can access these API links over an OAuth2 token which was provided to me by the creator of the API. My goal is to download the images, to which the API links me, and give them a certain name, in detail, the SKU of the article (which is available in the API link). The API links look like this: https://api.vlb.de/api/v1/cover/9783416040785/m. The part after /cover/ is the SKU of the article (book) and has to be the name of the image file. Since I have more than 500 images to download from the API link and upload to my FTP server to use WP All Import to add these images as product images, I don't want to do this manually and I can't imagine that there is no way to bulk-download and rename images available on API links.
So my question is: how can I bulk download images from API links and give them names according to a variable which the API link contains?
Thanks a whole lot in advance!
I am attempting to set up a way to take invoices that are emailed to me and import them into MS Access so that I can track completion of payment and vouchering and at a later time set up a better system for accounts payable.
I have been researching how to go about linking outlook and access for this purpose but I don't actually get the attachment when I link a folder with my database. I have found people suggesting that I don't actually save the file to access because it will bloat the database and instead just save the file location.
Unfortunately I haven't been able to find information about how to actually go about this process. Right now I have rules set up in Outlook to sort the invoices I receive by vendor, which I could then link to access. But there is no information regarding the attachment except that it has one.
Any pointing in the right direction would be greatly appreciated, I get the feeling that a lot of this will need to be done in outlook somehow, but I don't really know where to begin with it.
I can figure out how to save the attachments to a folder, but the thing I can't figure out is how to link outlook and access so that access can have a hyperlink to where the attachment is saved.
I have created an access database 2016 with backend MySQL tables, however on my form I require an image to display.
After reading plenty of articles online I have decided to keep the images in a separate folder in the same location as the database so I don't overload it.
However I have created an attachment section (hyperlink) on my form so I can save the filepath to the image in the backend table, If I click on the filepath I am able to view the image but I would like to have a small sample of the image available to view on the database form.
If anyone could advise how I would go about this it would be greatly appreciated.
Update of information added into control source
I frequently share content around on google drive from a site - problem - users bookmark the drive link and share it around which beats the point and hardwork put into the webpage itself.
Question:
How do I create a link that works such that when a user goes through it the link is available for that user only - or for x amount of time (lets says 4 days)
So that even if its bookmarked it wont work, and the user needs to visit the page back again to get a link.
Can't seem to find any tutorials that can get this to work.
You cant Creating a link on google drive makes it available to anyone who has the link.
It is possible to share it with just one person in the web view of Google drive. I have not been able to get this to work with the api though sharing
The closest i have come is sharing the file directly to a user which isnt the same thing as giving them a temp link manage sharing
For a certain application I need to show the attachment of an email on a website.. (it's a private site so not open for public).. the attachment is a html file. The file is emailed to my specified address every 30 mins. I need to display these contents on a autorefreshing webpage. What the easiest way to get this done? I was thinking writing a cronscript that checks the mailserver every 30 mins, downloads the attachment and places it in a certain place.. but maybe someone outthere has a better idea?
Yes, it looks reasonable to split this task into parts. Craft one cronscript which downloads incoming messages to an ordered storage (file system will suffice, if you are cautious about backing it up). Then craft a webpage that present some view of that storage.
Another, more straightforward solution would be to have one single webpage script which polls email server, downloads latest file and displays it. If it works too slow, you may just add some disk caching with proper timing out. This is for the case if you have a single message to display.