Pages:
Author

Topic: TalkImg.com - Image hosting for BitcoinTalk - page 28. (Read 20188 times)

legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 08, 2023, 08:31:46 AM
Here is part of my desktop showing a side by side comparison of the uploaded image in the browser and original screenshot of the image in the image viewer just for perspective
Is it by design?

As a rule, the image size is not changed. (Unless I use the zip tool.)

Comparison using the screenshot is not viable, you have to check the height x width pixels.
Can you check the pixels of both images and share?

copper member
Activity: 2198
Merit: 1837
🌀 Cosmic Casino
November 08, 2023, 08:11:41 AM
@Joker_josue, apologies if this has been talked about before

I noticed that the images uploaded appear to be larger than the original screenshots. I find myself having to adjust the image height and width most of the time in the posts which is OK but there are some members who don't do this, and you find the entire screen filled up with a screenshot making the post ugly.

Here is part of my desktop showing a side by side comparison of the uploaded image in the browser and original screenshot of the image in the image viewer just for perspective
Is it by design?

legendary
Activity: 3304
Merit: 8633
icarus-cards.eu
November 08, 2023, 02:52:53 AM
i am already looking forward to the monthly updates (in this case for the month of october) regarding data volume etc. - i hope @joker_josue has not forgotten to post them Wink
legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 08, 2023, 02:51:34 AM
Maybe that was the reason but I am positive that the image was less then 2.5 MB as it was a screenshot from mobile device.

Nowadays mobile devices generate very large images, even in a simple screenshot.
If it happens again, click on "error report" to see more details.  Wink
sr. member
Activity: 322
Merit: 318
The Alliance Of Bitcointalk Translators - ENG>BAN
November 08, 2023, 02:46:57 AM
This error normally occurs when the image being loaded is larger than 2.5MB (3MB).
If you click on "error report" you will see more details. (I have to think of a way to improve this information.)
Maybe that was the reason but I am positive that the image was less then 2.5 MB as it was a screenshot from mobile device.
legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 08, 2023, 02:44:17 AM
Hey joker_josue  Smiley
I was facing some issue with talkimg. Not every time but I would get this error. Might be worth reporting, so here it is.


This error normally occurs when the image being loaded is larger than 2.5MB (3MB).
If you click on "error report" you will see more details. (I have to think of a way to improve this information.)
sr. member
Activity: 322
Merit: 318
The Alliance Of Bitcointalk Translators - ENG>BAN
November 07, 2023, 11:22:34 PM
[…]
Hey joker_josue  Smiley
I was facing some issue with talkimg. Not every time but I would get this error. Might be worth reporting, so here it is.

 
legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 07, 2023, 08:56:42 PM
But why a separate domain with TalkImg?
And there is no link embedded in TalkImg about this Zip Tool?

Is this because the Zip tool is still in beta and needs to be tested before being embedded on the TalkImg front page so that users can access it more easily.

Exactly. Since it is still in Beta version, I am not highlighting it more than here in the topic.
But, as it is already in an advanced Beta version, perhaps in the next few days, I will add a link to the main page. We'll see. Wink
legendary
Activity: 2744
Merit: 1878
Rollbit.com | #1 Solana Casino
November 07, 2023, 08:36:24 PM
Thanks @bitmover and @taufik123 for the tips.
Basically, this is what is already done in the zipping tool: https://www.zip.talkimg.com/

Today I dedicated a few more hours and improved the tool, allowing me to convert and compress more types of files: JPG, JPEG, PNG, WebP, BMP, and GIF

I know it's not in the final version yet, on the main platform. But for now, it can be useful for everyone.  Wink
Zip tool, a tool that will be very useful and can be developed with many features.

But why a separate domain with TalkImg?
And there is no link embedded in TalkImg about this Zip Tool?

Is this because the Zip tool is still in beta and needs to be tested before being embedded on the TalkImg front page so that users can access it more easily.

Maybe if it is embedded on the TalkImg front page it will look like this

 
legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 07, 2023, 03:55:21 PM
I think the automatic conversion webp>png is somewhat easy to implement in php

It's pretty simple, but probably only supports converting .webp>.png formats.

I tried to utilize AI to create a Converter Tool that can be applied to the TalkImg Photo Hosting website, and this is the result.

Thanks @bitmover and @taufik123 for the tips.
Basically, this is what is already done in the zipping tool: https://www.zip.talkimg.com/

Today I dedicated a few more hours and improved the tool, allowing me to convert and compress more types of files: JPG, JPEG, PNG, WebP, BMP, and GIF

I know it's not in the final version yet, on the main platform. But for now it can be useful for everyone.  Wink
legendary
Activity: 2744
Merit: 1878
Rollbit.com | #1 Solana Casino
November 07, 2023, 09:48:21 AM
I think the automatic conversion webp>png is somewhat easy to implement in php

I just googled it:

Code:
// Load the WebP file
$im imagecreatefromwebp('./example.webp');

// Convert it to a jpeg file with 100% quality
imagejpeg($im'./example.jpeg'100);
imagedestroy($im);
?>

https://stackoverflow.com/questions/31132343/how-to-convert-webp-image-format-to-normal-php

It's pretty simple, but probably only supports converting .webp>.png formats.

I tried to utilize AI to create a Converter Tool that can be applied to the TalkImg Photo Hosting website, and this is the result.

HTML:
Code:



    Image Converter
    


    

        

Image Converter


        

            

                
                
            

            

                
                
            

            
        

        

    


    


JavaScript (image-converter.js):
Code:
document.getElementById('imageConverterForm').addEventListener('submit', function(event) {
    event.preventDefault();
    var imageFile = document.getElementById('imageFile').files[0];
    var outputFormat = document.getElementById('outputFormat').value;
    
    var reader = new FileReader();
    reader.onload = function(event) {
        var image = new Image();
        image.onload = function() {
            var canvas = document.createElement('canvas');
            canvas.width = image.width;
            canvas.height = image.height;
            var context = canvas.getContext('2d');
            context.drawImage(image, 0, 0);
            
            var convertedImageURL = canvas.toDataURL('image/' + outputFormat);
            var resultDiv = document.getElementById('result');
            resultDiv.innerHTML = '

Gambar yang dikonversi:

';
        };
        image.src = event.target.result;
    };
    reader.readAsDataURL(imageFile);
});

CSS (style.css):
Code:
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}
.form-group {
    margin-bottom: 10px;
}


Written with Javascript programming language using HTML and CSS interfaces, just needs to be adjusted according to your needs.

In the example that has been created above, users can choose the output format JPEG, PNG, or GIF,
and need to create three separate files with the above code: index.html, image-converter.js, and style.css.
and Make sure to save all three files in the same location, and open index.html in a web browser to view and use the Image Converter.

This is just an example for your reference material @joker_josue
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
November 07, 2023, 09:15:17 AM
Friends, I continue to explore the possibility of implementing automatic conversion in the upload process.
Until then, thank you for your understanding.

Thanks for fast answer.

I think the automatic conversion webp>png is somewhat easy to implement in php

I just googled it:

Code:
// Load the WebP file
$im imagecreatefromwebp('./example.webp');

// Convert it to a jpeg file with 100% quality
imagejpeg($im'./example.jpeg'100);
imagedestroy($im);
?>

https://stackoverflow.com/questions/31132343/how-to-convert-webp-image-format-to-normal-php

I can help you if you need. The API price image that I maintain is 100% php as well.

A build in applike taufik123 suggested will also work fine.
legendary
Activity: 2744
Merit: 1878
Rollbit.com | #1 Solana Casino
November 07, 2023, 09:11:28 AM
.webp
The error message could be improved, but webp isn't supported by the forum.
the error message that occurs may be due to not refreshing the page.
This is something I've experienced before, just refresh the page and everything will be resolved.

and for TalkImg supported image formats are JPG, JPEG, PNG, and GIF.
image formats such as .webp .tiff, .BMP, etc. are not supported and if you force to upload a warning will appear like this.




-snip-
Friends, I continue to explore the possibility of implementing automatic conversion in the upload process.
Until then, thank you for your understanding.
It seems to be a feature to look forward to, never having found an image hosting with such a comprehensive tool.
To convert I still use the Format Factory application

legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 07, 2023, 08:56:31 AM
I found something wrong while uploading an image. I saved this image in my local mobile drive and tried to upload it

https://kdfrases.com/webp/frases-imagens/frase-o-progresso-e-precisamente-aquilo-nao-previsto-pelas-regras-e-regulamentos-ludwig-von-mises-129917.webp

.webp
The error message could be improved, but webp isn't supported by the forum.

@bitmover as LoyceV commented, the file format is not supported by the forum.
In this sense, you cannot upload. In fact, he should have given this error first:


If it doesn't appear, when you click on "error report", more details appear.



Friends, I continue to explore the possibility of implementing automatic conversion in the upload process.
Until then, thank you for your understanding.
hero member
Activity: 862
Merit: 662
November 07, 2023, 08:54:31 AM
The error message could be improved, but webp isn't supported by the forum.

The HTML5 Canvas have the feature of Accept almost any media format and also save the current image in standard formats like jpg and png.

The page should detect if the input file is WEBP and process it to PNG or something like that, that should be transparent for the end user.

OP if you need a hand with that let me know.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 07, 2023, 08:45:16 AM
.webp
The error message could be improved, but webp isn't supported by the forum.
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
November 07, 2023, 08:42:29 AM
Hello joker_josue

I found something wrong while uploading an image. I saved this image in my local mobile drive and tried to upload it

https://kdfrases.com/webp/frases-imagens/frase-o-progresso-e-precisamente-aquilo-nao-previsto-pelas-regras-e-regulamentos-ludwig-von-mises-129917.webp

Got this error message



legendary
Activity: 1862
Merit: 5154
**In BTC since 2013**
November 02, 2023, 02:46:09 PM
just sent a monthly donation to

Thank you again for your support. And to everyone who has helped directly or indirectly to the success of this project.


You already know ideas and suggestions, they are welcome.  Wink
legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
November 02, 2023, 01:11:07 PM
just sent a monthly donation to


bc1qhwnncpdd8gfzqwjkk9n052wf7g9mvks3xaa7qa

0.001. it is nice to see you getting some support
legendary
Activity: 2744
Merit: 1878
Rollbit.com | #1 Solana Casino
November 01, 2023, 05:10:28 PM
Thanks for the alert. I had to do some tests, and I ended up leaving this information behind.
Situation corrected, it should not appear again.
Amazing, in just a few minutes you fixed it.
It's a quick response and you've mastered the technicalities of TalkImg well.

I have tried again and the information about File size on the Medium BBCode link is gone.


I will continue to use TalkImg and will report back if there are any errors during use.
Thank you for giving such a great response.
Pages:
Jump to: