Skip to content

Responsive image resizing #3

@flammy

Description

@flammy

Moved issues from dokuwiki comment section to github:

It'd be nice if the use of imagebox didn't break responsive image functionality when using the default template in Detritus.

Version tested shows installed=Sat, 20 Dec 2014 11:46:58 +1100 in manager.dat

A crude hack allows this by changing:-

$renderer->doc.= '<div class="thumb2 t'.$match['align'].'" style="width:'.($match['w']?($match['w']+10).'px':'auto').'"><div class="thumbinner">';

to

$renderer->doc.= '<div class="thumb2 t'.$match['align'].'" style="width:100%"><div class="thumbinner">';

Note: only tested using plugin»imagebox»display_magnify = if necessary, and plugin imagebox center align = on

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions