Download test-image.html from Mr-Thop/DigitalDB: direct link, hf CLI and curl.
- Browser
- Download file 788 Bytes
-
https://huggingface.co/spaces/Mr-Thop/DigitalDB/resolve/main/test-image.html
- Command line
-
hf download hf://spaces/Mr-Thop/DigitalDB/test-image.html
-
curl -L -o test-image.html https://huggingface.co/spaces/Mr-Thop/DigitalDB/resolve/main/test-image.html
788 Bytes
| <html> | |
| <head> | |
| <title>Test Image</title> | |
| </head> | |
| <body> | |
| <h3>Testing Google Drive Image URL</h3> | |
| <p>Original URL: https://drive.google.com/file/d/1exVzfB217Ub9Dyq36aovb-3sRmXHv8oS/view?usp=drive_link</p> | |
| <p>Converted URL: https://drive.google.com/uc?export=view&id=1exVzfB217Ub9Dyq36aovb-3sRmXHv8oS</p> | |
| <img src="https://drive.google.com/uc?export=view&id=1exVzfB217Ub9Dyq36aovb-3sRmXHv8oS" style="max-width: 300px;" alt="Test Image"> | |
| <script> | |
| document.querySelector('img').onload = function() { | |
| console.log('Image loaded successfully'); | |
| }; | |
| document.querySelector('img').onerror = function() { | |
| console.log('Image failed to load'); | |
| }; | |
| </script> | |
| </body> | |
| </html> |