CGI::A...Inline(3pm)

πŸ“¦
version 0.07 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline β€” it's giving inlined GD Graph output for CAP:DBIProfile. bestie that's literally the whole vibe ✨


🌸 SYNOPSIS 🌸

okay so drop this in your httpd.conf and you're so back:

# in httpd.conf
SetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline
PerlSetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline

πŸŽ€ DESCRIPTION πŸŽ€

so this module is the one serving a GD::Graph::bars inlined graphing option for CAP:DBIProfile. iconic behaviour honestly.

⚠️ not me having to say this but β€” inlined images are NOT supported by MSIE as of version 7. not supported!! Mozilla, Firefox, Opera, Safari, and Konqueror are all supported though, so the girlies are fine πŸ’…

the following settings control the output, and yes you can change them:

  • $CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::FORMAT β€” the output format, bestie. defaults to "png". pick one of "png", "gif", or "jpeg". and like, any GD supported output format can be easily added, no cap.
  • $CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::WIDTH β€” width of the output image. if your browser is being dramatic about large inline images, just reduce this 🫢
  • $CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::HEIGHT β€” height of the output image. same deal: browser struggling with big inline images? reduce this one too.

πŸ’€ BUGS πŸ’€

  • Microsoft Internet Explorer, as of versions 6 and 7, lacks support for the "data: URI scheme", and thus lacks support for inline images. yeah. that's the bug. it's giving tragedy 😭
  • inline images max size is limited to the browser's max URI length. for example, on Opera, this used to be 4kb. if you hit this limit, you can change the size of the output to try to compensate. lowkey a workaround, highkey necessary 🧚

πŸ¦‹ REQUIREMENTS πŸ¦‹

  • GD::Graph
  • MIME::Base64

✨ SEE ALSO ✨

  • CGI::Application::Plugin::DBIProfile
  • CGI::Application::Plugin::DBIProfile::Graph::HTML

πŸ‘‘ AUTHOR πŸ‘‘

Joshua I Miller, L<unrtst@cpan.org>

Copyright 2007 Joshua Miller, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


aaaand that's the whole page, bestie 🌈 this was CGI::A...Inline(3pm) from perl v5.36.0, dated 2022-11-19 β€” tysm for reading, you ate that, periodt πŸ’…πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from