Question: Recommendations for image hosting that supports both albums and prompt data?
I love that image.delivery pulls the prompt out of the image metadata (so myself and others can reference it later), but it doesn't support albums...
Prompt for above
The method I've settled on takes a bit of work to put together. First, I upload PNGs to catbox.moe. This preserves metadata so someone can feed the image into the A1111 PNG Info tab, or by copying the url to https://pngchunk.com.
Next, I upload JPG copies here. That gives me the lemmynsfw hosted url and builds the gallery. Then I put them both together using markdown so that the image gallery is also links to the PNGs. The final format looks like this:
This seems to work well. The only hiccup is that I need to include the first image twice, once in the post body so it shows in the gallery, and once as the post header image. That works okay in the browser, but some lemmy mobile apps show it as a duplicate.
Click on an image to see prompt details.
[![](https://fast.image.delivery/fbdyibj.jpg)][1]
[![](https://fast.image.delivery/gpbbxpn.jpg)][2]
[![](https://fast.image.delivery/zgojtmp.jpg)][3]
[1]: https://image.delivery/page/fbdyibj
[2]: https://image.delivery/page/gpbbxpn
[3]: https://image.delivery/page/zgojtmp
Script:
def convert_urls(input_file, output_file):
with open(input_file, 'r') as f:
urls = f.read().splitlines()
with open(output_file, 'w') as f:
f.write('Click on an image to see prompt details.\n\n')
for i, url in enumerate(urls, start=1):
id = url.split('/')[-1]
f.write(f'[![](https://fast.image.delivery/{id}.jpg)][{i}]\n')
f.write('\n')
for i, url in enumerate(urls, start=1):
f.write(f'[{i}]: {url}\n')
# Usage
convert_urls('input.txt', 'output.txt')
Does Catbox modify my files in any way?
No. Your files are a 1-to-1 copy of the file you upload. We do not remove EXIF data, extraneous metadata, or anything else you might have hidden in the image. We also do not compress/resize your images.