develooper Front page | perl.perl5.porters | Postings from November 2021

Re: Pre-RFC: images in Pod

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
November 16, 2021 10:18
Subject:
Re: Pre-RFC: images in Pod
Message ID:
20211116101803.4097f87b@shy.leonerd.org.uk
On Mon, 15 Nov 2021 22:04:53 -0500
Dan Book <grinnz@gmail.com> wrote:

>  I like the basic idea. The loss of sizing control would be
> unfortunate, but worked around by sizing the image you include as
> desired.

As you're already using a | symbol to separate the URL from alt-text
(though I see you swapped them later), could you not also use this for
sizing?

  P<A little logo|http://url-to-my/logo.png|64x48>

(admittedly my email client seems to think that a | symbol is valid
inside a URL, so that might be a problem in itself. Hrm)

> A larger question is how to refer to images without an absolute URL
> as it relies on having external hosting for the image available. Most
> commonly images would be included with the CPAN distribution and
> displayed by metacpan so it's worth optimizing for that use case. I
> believe there was some discussion of this in the previous thread that
> it would be worthwhile to review.

Yes this - I'd quite often be wanting to include those images in the
dist tarball, rather than relying on some external site.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About