IPB

Welcome Guest ( Log In | Register )

Image Linking & Hosting, various issues
tau
post Sep 17 2021, 03:07 PM
Post #1


Member
***

Group: Members
Posts: 665
Joined: 9-May 21
From: Germany
Member No.: 9017



Sol 203 Mastcam-Z right eye panorama with enhanced colors

Attached Image


I just found out that in addition to the file size limit for uploading images, there also seems to exist a limit to the total number of pixels in an image.
When I try to upload images with a file size of less than 3 MB but with more than or close to 25 million pixels, the attachment management menu disappears.
So I had to reduce the size (and hence resolution) of the above image to 92% (linear).

Did anybody make a similar observation?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
fredk
post Sep 23 2021, 02:16 PM
Post #2


Senior Member
****

Group: Members
Posts: 4246
Joined: 17-January 05
Member No.: 152



If you want to display a large image hosted elsewhere, reducing the image with the width attribute is not efficient, since the browser still needs to download the full-resolution image before rescaling it for display.

Much better is to instead display a lower-res or thumbnail version (which are usually available on the jpl image servers) and make it a link to the full-res image. Or if no thumbnail is available create your own, hosted on UMSF, and again make it a link to the full-res image.
Go to the top of the page
 
+Quote Post
Cherurbino
post Sep 24 2021, 10:00 AM
Post #3


Junior Member
**

Group: Members
Posts: 91
Joined: 11-August 21
Member No.: 9072



QUOTE (fredk @ Sep 23 2021, 05:16 PM) *
If you want to display a large image hosted elsewhere, reducing the image with the width attribute is not efficient, since the browser still needs to download the full-resolution image before rescaling it for display.

It's true, but I'm worried about the forum's quota on the hosting server, not about the download time.

QUOTE (fredk @ Sep 23 2021, 05:16 PM) *
Much better is to instead display a lower-res or thumbnail version (which are usually available on the jpl image servers) and make it a link to the full-res image. Or if no thumbnail is available create your own, hosted on UMSF, and again make it a link to the full-res image.


Testing the sample syntax of nested links with one of the latest images for sol 211. This image responds as a clickable thumbnail:



The large image is opened with the click on the thumbnail in a separate window.

This soultion is applicable to all images from NASA storage, since we beleive it shall not disappear or change URL's. But as for the other hosts, this problem is still open - they tend to disappear after a few years.

-----
QUOTE (fredk @ Sep 23 2021, 05:16 PM) *
if no thumbnail is available create your own, hosted on UMSF, and again make it a link to the full-res image.


Some image hosts allow to create the thumbnail automatically and store it alongside with the original image.
Go to the top of the page
 
+Quote Post

Posts in this topic
- tau   Image Linking & Hosting   Sep 17 2021, 03:07 PM
- - Bill Harris   Good point, Tau. I recall that there are file ...   Sep 17 2021, 04:42 PM
|- - djellison   QUOTE (Bill Harris @ Sep 17 2021, 08:42 A...   Sep 17 2021, 08:08 PM
|- - Cherurbino   Dear djellison, if you consider my proposal valuab...   Sep 18 2021, 09:43 AM
|- - djellison   QUOTE (Cherurbino @ Sep 18 2021, 02:43 AM...   Sep 19 2021, 03:40 AM
- - fredk   That all makes sense for large files - we can...   Sep 17 2021, 09:22 PM
- - ngunn   I second that from fredk. I appreciate the long te...   Sep 17 2021, 09:55 PM
|- - john_s   Thirded! There’s great history here   Sep 17 2021, 10:03 PM
- - nprev   Hey, all. A member requested that we start a separ...   Sep 18 2021, 10:25 PM
- - Hungry4info   There have been times that I have spent a couple h...   Sep 18 2021, 11:40 PM
- - Bill Harris   Agreed! The historical aspect of discussions ...   Sep 19 2021, 12:00 AM
- - mcaplinger   Obviously nobody should expect anything posted her...   Sep 19 2021, 06:27 AM
|- - Cherurbino   QUOTE (mcaplinger @ Sep 19 2021, 09:27 AM...   Sep 19 2021, 11:51 AM
|- - djellison   QUOTE (mcaplinger @ Sep 18 2021, 11:27 PM...   Sep 19 2021, 07:24 PM
|- - Cherurbino   The main technical problem on the way of encouragi...   Sep 23 2021, 06:33 AM
- - Ant103   That's why I'm self hosting my content sin...   Sep 19 2021, 08:35 AM
- - mcaplinger   I'm a big fan of the Wayback Machine, but it h...   Sep 19 2021, 04:41 PM
- - fredk   If you want to display a large image hosted elsewh...   Sep 23 2021, 02:16 PM
- - Cherurbino   QUOTE (fredk @ Sep 23 2021, 05:16 PM) If ...   Sep 24 2021, 10:00 AM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 28th April 2024 - 02:57 PM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.