00009: images do not float (v2)

Summary: images do not float (v2)
Created: 2004-08-26 20:35
Status: Closed - added for 2.0.devel20
Category: Bug
From: Pm
Assigned:
Priority: 455
Version: 2.0.devel3
OS:

Description: Currently there's no mechanism for floating images right or left in pages. PmWiki 1.0 checked to see if an image was at the beginning or end of a markup line to determine the float, but this led to problems with WikiStyles and some other minor features.

How should we handle floating images in PmWiki 2.0?

WikiStyles %float=left% and %float=right% ?


Added %align=left% and %align=right% WikiStyles for 2.0.devel20. It might be worthwhile to create style shortcuts, as in %imgleft% and %imgright%.

I may still add automatic left/right floating images as a Cookbook recipe or an optional feature. --Pm

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=PITS%2f00009
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=PITS%2f00009
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/PITS/00009
            [REDIRECT_SCRIPT_URL] => /wiki/PITS/00009
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afTH-n5jrdlopSfEJY6ssQAAAMs
            [REDIRECT_URL] => /wiki/PITS/00009
            [REMOTE_ADDR] => 216.73.216.25
            [REMOTE_PORT] => 61041
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/PITS/00009
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/PITS/00009
            [SCRIPT_URL] => /wiki/PITS/00009
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afTH-n5jrdlopSfEJY6ssQAAAMs
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777649658.2761
            [REQUEST_TIME] => 1777649658
            [argv] => Array
                (
                    [0] => n=PITS%2f00009
                )

            [argc] => 1
        )

)