When viewing full images in the gallery, if the image was resized to say 800px wide on upload, the gallery software displays the image with a width property of 800. On smaller screens, this completely breaks the layout. I fixed this by editing the dbtech_gallery_image_full template and replacing
with
but I can't help but feel that either we've got something misconfigured or something else. I'm sure you've already dealt with this issue and have a better way to make the gallery function on smaller screens.
PHP:
<img id="full_image" src="{vb:raw image_data.full_path}" alt="{vb:raw image_data.title}" title="{vb:raw image_data.title}"<vb:if condition="$image_data[box_new_width]"> width="{vb:raw image_data.box_new_width}"</vb:if> border="0" />
PHP:
<img id="full_image" src="{vb:raw image_data.full_path}" alt="{vb:raw image_data.title}" title="{vb:raw image_data.title}"<vb:if condition="$image_data[box_new_width]"> width="95%"</vb:if> border="0" />
but I can't help but feel that either we've got something misconfigured or something else. I'm sure you've already dealt with this issue and have a better way to make the gallery function on smaller screens.