Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Images on CPAN: missing again (update)

by LanX (Saint)
on May 01, 2017 at 09:53 UTC ( [id://1189247]=note: print w/replies, xml ) Need Help??


in reply to Images on CPAN: missing again

Just a guess:

Try to embed images with a relative path to your distribution instead of http://homepage.eircom.net/~jmcnamara/perl/images/a_simple.jpg

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

update

Interestingly there seems to be a trend to foreign links to keep the distribution small.

But one side effect then are broken links like in https://metacpan.org/pod/Math::Fractal::Noisemaker

probably a better strategy would be to mirror the images at upload time (?)

  • Comment on Re: Images on CPAN: missing again (update)

Replies are listed 'Best First'.
Re^2: Images on CPAN: missing again (update)
by afoken (Chancellor) on May 01, 2017 at 10:57 UTC

    data-URLs might also work. They are directly embedded in the document, so they should not break. Some ancient browsers (Internet Explorer) can't handle them, but most browsers can. A little disadvantage is that data URLs use base64, so they inflate the image by one third. One should optimize the images for size before converting them to base64.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Yes i found discussions pointing to them.

      I think the main concern is to keep CPAN small.

      Not sure if there is a quota limiting uploads.

      For instance when running CPAN::Mini I wouldn't be too happy to have my disk bloated with image files of an obscure module.

      OTOH Mini allows setting filters.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1189247]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2024-04-23 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found