Pages:
Author

Topic: TalkImg.com - Image hosting for BitcoinTalk - page 29. (Read 13695 times)

legendary
Activity: 2212
Merit: 7064
Now the button is automatically checked. Either way, the person uploading an image accepts the terms of service.
I hope this makes everything easier to use.
I tested it and it works perfectly now, no more clicking for me.
It makes perfect sense to accept all the TalkImg terms if you agree to upload images.

2. Destination -> custom -> Import from clipboard -> Put your API key where it says "API-KEY-HERE"
I can't find Import from clipboard option anywhere.
Is this under Custom Image Uploader, Customer Uploader settings or somewhere else.
I know about Sharex but it was always a bit complex for me since I would use it mostly for uploading forum images.
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
Maybe we will get a plugin for it, hope it is OK for you, is a public API also planned or would they have to contact you then?

Eventually I could provide a public API, but I prefer to use private APIs per user, to reduce abuse.

But they can get in touch, and I can create a specific API for their app, and thus be able to better manage the situation.  Wink
legendary
Activity: 2758
Merit: 6830
You can ask for an account, which then has access to an API, but the configuration of the application is your responsibility.

Thanks I have tested the Api and as it was already suspected here it is not so easy, I hope it is OK for you and I have opened a Greenshot feature requests there on the page once. Maybe we will get a plugin for it, hope it is OK for you, is a public API also planned or would they have to contact you then?
I prefer ShareX.

If anyone else is using it, you can use TalkImg as the upload destination:

1. Copy the code below.
2. Destination -> custom -> Import from clipboard -> Put your API key where it says "API-KEY-HERE"

Code:
{
  "Version": "15.0.0",
  "Name": "TalkImg",
  "DestinationType": "ImageUploader",
  "RequestMethod": "POST",
  "RequestURL": "https://talkimg.com/api/1/upload",
  "Headers": {
    "X-API-Key": "API-KEY-HERE"
  },
  "Body": "MultipartFormData",
  "Arguments": {
    "type": "file",
    "format": "json",
    "description": "Uploaded by ShareX"
  },
  "FileFormName": "source",
  "URL": "{json:image.url}",
  "DeletionURL": "{json:image.delete_url}",
  "ErrorMessage": "{json:error.message}"
}
legendary
Activity: 3794
Merit: 2499
You can ask for an account, which then has access to an API, but the configuration of the application is your responsibility.

Thanks I have tested the Api and as it was already suspected here it is not so easy, I hope it is OK for you and I have opened a Greenshot feature requests there on the page once. Maybe we will get a plugin for it, hope it is OK for you, is a public API also planned or would they have to contact you then?
sr. member
Activity: 406
Merit: 443
Hey congratulations, the forum is now advertising your service, you can find the ad at the end of the topic. Factoid slots (1 in 570 chance)

https://bitcointalk.org/adrotate.php?adinfo

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
What would be the best way to download using a Windows machine?
I haven't tried it, but "wget for Windows" exists.
legendary
Activity: 1050
Merit: 3047
See if you can already do this, through this link:
https://www.talkimg.com/tempbackups/
This looks okay! I've scheduled this daily at random times:
Code:
wget --no-parent -rcA.zip https://www.talkimg.com/tempbackups/ # this should download each file only once
From there, it'll end up in my regular backups.
What would be the best way to download using a Windows machine? I'm thinking in making a task using Task Scheduler, but I'm unsure of the best line of code to run. Would this work?
Code:
Invoke-WebRequest -Uri 'https://www.talkimg.com/tempbackups/2023-05a.zip' -OutFile '(Insert Drive Letter here)\TalkImg Backup'
Is there any command that I could use to automatically download all the files in that parent directory using PowerShell?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
See if you can already do this, through this link:
https://www.talkimg.com/tempbackups/
This looks okay! I've scheduled this daily at random times:
Code:
wget --no-parent -rcA.zip https://www.talkimg.com/tempbackups/ # this should download each file only once
From there, it'll end up in my regular backups.
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
Regular backups will only be consistent if it can be automated. I'd like to be able to do this from a cronjob.

See if you can already do this, through this link:
https://www.talkimg.com/tempbackups/


It would be much easier to restore if the full path is included, so: "2023/04/20" or even "/images/2023/04/20"

I will try to improve this aspect in the next backups.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
BACKUP FILES
I can't read the directory:
Code:
wget https://www.talkimg.com/images/2023/           
--2023-05-21 10:10:04--  https://www.talkimg.com/images/2023/
Resolving www.talkimg.com (www.talkimg.com)... 185.146.22.237
Connecting to www.talkimg.com (www.talkimg.com)|185.146.22.237|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-05-21 10:10:04 ERROR 403: Forbidden.
Regular backups will only be consistent if it can be automated. I'd like to be able to do this from a cronjob.

Quote
Path of original images:
Code:
[domain]/images/[year]/[month]/[day]

Links:
Code:
https://www.talkimg.com/images/2023/2023-04.zip
https://www.talkimg.com/images/2023/2023-05a.zip
https://www.talkimg.com/images/2023/2023-05b.zip
https://www.talkimg.com/images/2023/2023-05c.zip
Can you include the full path in each .zip file? I now get this:
Code:
1.3G    ./16
337M    ./15
1.9M    ./08
2.9M    ./01
112M    ./12
4.5M    ./09
4.3M    ./06
4.0K    ./04/24
4.0K    ./04/25
4.0K    ./04/26
4.0K    ./04/28
20K     ./04/23
4.0K    ./04/20
320K    ./04/22
1.9M    ./04/30
4.0K    ./04/27
4.0K    ./04/29
5.2M    ./04
1.6M    ./10
2.8M    ./07
19M     ./11
2.5M    ./02
5.4M    ./05
5.0M    ./03
793M    ./14
114M    ./13
2.7G   
It would be much easier to restore if the full path is included, so: "2023/04/20" or even "/images/2023/04/20"

Code:
1.14G  87.4MB/s    in 13s
Not bad Smiley
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
BACKUP FILES
Date covered: project launch > 16/05/2023

Below is the first batch of backup images loaded on the TalkImg service.

Path of original images:
Code:
[domain]/images/[year]/[month]/[day]

(Edit) Location of backups:
Code:
https://www.talkimg.com/tempbackups/

These files will be available for at least 7 days.
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
Now you need to remove that checkbox to agree with terms each time if I am using Tor or other browser with private window. Wink

Now the button is automatically checked. Either way, the person uploading an image accepts the terms of service.
I hope this makes everything easier to use.
legendary
Activity: 2212
Merit: 7064
When uploading, before pressing the upload button, you can edit the size of the image. To do so, just click on the thumbnail image that appears on the screen and a popup will open for editing.
I tested it and it works great, just like I wanted and it speeds up my image uploading process a lot.
Now you need to remove that checkbox to agree with terms each time if I am using Tor or other browser with private window. Wink
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
Maybe you can automatically reduce image size with compression when people upload bigger size images.
This can help saving server resources and it would comply with forum rules, in addition with manual image resize done by uploaders.

EDIT:
I see you already added in roadmap Automatic file conversion system and Possibility to define the size Wink


TIPS FOR
When uploading, before pressing the upload button, you can edit the size of the image. To do so, just click on the thumbnail image that appears on the screen and a popup will open for editing.

legendary
Activity: 2212
Merit: 7064
The only size limitation is the one that already exists in the BitcoinTalk proxy: 2.5MB per image.
Maybe you can automatically reduce image size with compression when people upload bigger size images.
This can help saving server resources and it would comply with forum rules, in addition with manual image resize done by uploaders.

EDIT:
I see you already added in roadmap Automatic file conversion system and Possibility to define the size Wink
legendary
Activity: 1764
Merit: 2032
The Alliance Of Bitcointalk Translators - ENG>SPA
SITUATION STATUS:
I have the deadline to inform you that the maintenance and upgrade to the server are completed. The site is now fully operational again.
Thank you in advance for your understanding in this process.

I would like to share some information about this whole process.

First of all, notice what happened once the Imgur issues arose:


On the 11th, it had only 354 images uploaded.
Day 12: 739
Day 13: 1216
Day 14: 4376
Being now with more than 5000 images uploaded.

This significant increase, in a short period of time, forced me to migrate to another server sooner than expected. The plan was for the migration to be gradual, over the next few months. But due to this situation, I had to do everything in less than 48 hours. At the same time, I had to do everything possible so that the site remains online and does not compromise the visualization of the images already uploaded in the forum.

This new server, located in Europe, will allow more bandwidth and more space for the free use of images.

As you can calculate, all this had an extra cost that was not planned for now. Although for now everything is assured, I will be very grateful for any contributions you can make. This project, without your support, will be more difficult to continue to grow. This community has always been very good at supporting projects, and I hope the same will happen with this one.

Friends, thank you again for your support and understanding.
Happy uploading of images!!!

WOW! This is great news on the adoption of your service on one hand, but on the other hand isn't it very soon to migrate? I hope your project is economically viable for you if you don't find a commercial partner soon, although taking into account these data I dare say that many advertisers will want to advertise with you.

Otherwise, as you said, our community is quite good at supporting this kind of projects, so I hope donations to flow if needed. Please, keep us informed.
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
Also: about 2000 images are larger than 2.5 MB. @joker_josue: did theymos tell you the exact limit (in bytes)?


I followed your suggestion, and asked theymos about this matter. There's nothing better than having him explain.

Response:
Why this format don't work?



What is not working?
The code you made and is on the print screen is from the website link and not the link to an image. So the code [img] does not work on website links, only on image links.
hero member
Activity: 2520
Merit: 952
Why this format don't work?

legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
I inform you that I updated the OP, with some details about the server, accounts and backups.
Thank you for everything.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I was sure the size limit was 2.0 MB, but I was wrong apparently.
I tried to test this, but got an error. I tried with a much smaller file, and still get the error:
Code:
Error report

    dxzbBPa.png - Server error (Internal server error)

Fun fact: the largest embedded imgur image on Bitcointalk is 133 MB: https://i.imgur.com/DpbqKUS.gif
I guess it didn't work Tongue
Also: about 2000 images are larger than 2.5 MB. @joker_josue: did theymos tell you the exact limit (in bytes)?
Pages:
Jump to: