#known 2020-07-26

2020-07-26 UTC
seekr, [tantek], [chrisaldrich], [tw2113], [fluffy] and [mapkyca] joined the channel
#
[mapkyca]
[jeremycherfas] I don’t know how your client is uploading, but the photo plugin doesn’t accept uploads via url - it’s a direct file upload. Also check that it’s uploading the correct name, plugin switched from single photo to array some time ago
#
[mapkyca]
[aaronpk]… is it broken? 😄 lot of those plugins have suffered some bitrot (and honestly probably need a from scratch rewrite). I’ve certainly not had the time, and nobody else seems willing to pick it up.
[chrisaldrich], seekr and jeremych_ joined the channel
#
jeremycherfas
!tell [mapkyca] Ah. So then I misinterpreted this `-F "photo=@/path/to/photo.jpg;filename=photo.jpg;type=image/jpeg" \` as meaning that you could supply the URL of a photo. You have to upload the photo file first, and then use its filename?
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
I guess tyhat would be a strong case for having a media endpoint.
#
jeremycherfas
I wonder whether I could first upload the image to `/Uploads` and then point at the filename there. That will have to wait for another day though.
[KevinMarks], [grantcodes], [manton], [tantek], jamietanna and jeremych_ joined the channel
#
jeremycherfas
Yikes! I cracked (part of) my problem. Instead of addressing `photo/edit` I addressed `micropub/endpoint` and it worked!
[schmarty], [KevinMarks], [tantek] and [tw2113] joined the channel