Welcome to Fractal Forums

Community => Discuss Fractal Forums => Topic started by: Pauldelbrot on December 19, 2011, 07:49:57 AM




Title: Gallery suggestion: provide option to host image externally
Post by: Pauldelbrot on December 19, 2011, 07:49:57 AM
Just a thought: sometimes it's not possible to cram an image into 500K and have it still look good, which means the gallery won't accept it (unless you put a version there that looks bad). I understand that storage space is at a premium and raising the file size limit to, say, 2MB would probably break the bank.

But how about providing an option to use a URL instead of a file upload in the gallery add form? The full-size image would be retrieved from the remote URL and only the thumbnail would be stored locally, along with the ratings, comments, and other metadata.

If you're concerned that remote images might sometimes be replaced unexpectedly with zombie donkey robot tentacle pr0n, store the SHA1 or MD5 of the remote file locally as well, and have the gallery view fetch the file, check it, and pass it on to the browser only if it still matches up, rather than directly embed the remote URL as an html img tag. That unfortunately will cost bandwidth on each remote-image view, but still no permanent local storage.

In the meantime, it'd also be nice if the part of the upload form that mentions the 1200x1200 size limits mentioned the 500K file size limit as well. If remote image capability is added, that text and the error page should both mention the feature as one suggested fix.


Title: Re: Gallery suggestion: provide option to host image externally
Post by: Fractal Ken on December 19, 2011, 10:38:57 PM
Nice idea. Not only could the remote image be over 500kB, but it could be larger than 1200x1200 px also.


Title: Re: Gallery suggestion: provide option to host image externally
Post by: Sockratease on December 19, 2011, 11:08:54 PM
You already can host images externally.

Just use the [img] tag,

This works in posts and gallery comments, so you can use the "Rate My Image" section of the forum, or post an image within the gallery limits in the gallery, and then post the externally hosted image in a comment for the gallery image.

Hope that helps.   O0


Title: Re: Gallery suggestion: provide option to host image externally
Post by: Pauldelbrot on December 19, 2011, 11:32:23 PM
You already can host images externally.

Just use the [img] tag,

Works for forum posts and gallery comments, but not for gallery images that can be voted on.


Title: Re: Gallery suggestion: provide option to host image externally
Post by: Sockratease on December 20, 2011, 12:24:51 AM
You already can host images externally.

Just use the [img] tag,

Works for forum posts and gallery comments, but not for gallery images that can be voted on.

If it's the first comment on the image, yes it does.

Voting is meaningless anyhow, except in those rare instances where it's a competition and the users ratings count for something.

There will never be a way to put the large image in the gallery as the first thing you see in the post.  Those have to be uploaded given the way the gallery works, and bandwidth and disc space prohibit it  If that's critically important to you, just make a tiny black and white image that says "Look at comment for image" and nobody will ever see your lower resolution images.  

Of course you'd lose the thumbnail too - but such is the cost of it.

Or you could program a better Gallery for us!


Title: Re: Gallery suggestion: provide option to host image externally
Post by: Pauldelbrot on December 20, 2011, 11:12:48 AM
Quote
There will never be a way...

It's software. Software you can modify. Almost anything is possible. In fact, the possibilities are infinite. ;)


Title: Re: Gallery suggestion: provide option to host image externally
Post by: Sockratease on December 20, 2011, 01:26:53 PM
Quote
There will never be a way...

It's software. Software you can modify. Almost anything is possible. In fact, the possibilities are infinite. ;)

Like I said, feel free to make a better gallery!