this post was submitted on 20 Oct 2023
8 points (90.0% liked)
Aotearoa / New Zealand
1656 readers
36 users here now
Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general
- For politics , please use !politics@lemmy.nz
- Shitposts, circlejerks, memes, and non-NZ topics belong in !offtopic@lemmy.nz
- If you need help using Lemmy.nz, go to !support@lemmy.nz
- NZ regional and special interest communities
Rules:
FAQ ~ NZ Community List ~ Join Matrix chatroom
Banner image by Bernard Spragg
Got an idea for next month's banner?
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What's the "best" way to upload a photo for use in Lemmy?
You can directly upload a photo if it's less than 5MB if you use a lemmy.nz account. Other instances may have higher or lower limits, or may have even disabled uploads.
The website has a button to add an image that triggers the upload, apps and alternate frontends may have different ways to do it.
I'd say that's your best bet as a starting point. Note that the only way to delete a photo is by using the button that appears when you first upload it. You can't do it later (in an emergency I can remove images but it's not exactly easy to do). So if you want that ability then that might play into your decision.
Other options I have seen are catbox.moe for bigger photos, or uploading to pixelfed, a federated instagram alternative (e.g. at pixelfed.nz).
Sweet - Thank you for the detailed response :)
And if I were to use something like Pixelfed, it would just be a text link to it? No way to have it embedded in the comment?
I don't think you can embed it in a fancy way, but if you copy the image URL (not the page link, but right click on the image and copy the image link) then you can use markdown to embed the image. It's basically the same as a link but put ! in front, like so:
![alt text here - used for screen readers](https://pixelfed.nz/path/to/image.jpg)
Ahh right - so the result will be that the viewer will be taken to the image itself and not the Pixelfed page correct?
So long as you get the link right, it will show the image within the comment.
e.g. here's a recently posted image I just found:
https://pixelfed.nz/p/pablo/620911224907388141 and here's what I get if I copy the image location: https://pixelfed.nz/storage/m/_v2/513250381254845674/f1538e3aa-7b3151/4bKLqhHyp7hs/yXLaNVwdRYVFUFRL4Xrzm7WARXu9hTTwJKc8jA8J.jpg
If I use markdown like so:
![photo of fountain at night](https://pixelfed.nz/storage/m/_v2/513250381254845674/f1538e3aa-7b3151/4bKLqhHyp7hs/yXLaNVwdRYVFUFRL4Xrzm7WARXu9hTTwJKc8jA8J.jpg)
Then I get:
Oh right- Cool!.
Thank you for explaining the different outcomes