I'm coming back to this topic as I still don't have a solution.
There was a suggestion that in the modus photo.autosize.js the DPR=2 was a possible culprit:
function rvas_get_scaled_size(d, available) {
var ratio_w = d.w / available.w
, ratio_h = d.h / available.h;
if (ratio_w>1 || ratio_h>1) {
if (ratio_w>ratio_h)
return {w: available.w / available.dpr, h: Math.floor(d.h / ratio_w / available.dpr)};
else
return {w: Math.floor(d.w / ratio_h / available.dpr), h: available.h / available.dpr};
}
return {w: Math.round(d.w / available.dpr), h: Math.round(d.h / available.dpr)};
but the solution proffered, to lose the "available.dpr" :
return {w: Math.round(d.w), h: Math.round(d.h)};
has not worked for me. I even tried removing "available.dpr" throughout the whole section, but again, no luck.
Larger photos work fine, being initially resized to fit the window correctly, but with smaller images the auto resizing makes them miniscule. I understand why this is not a pressing problem for the Piwigo coders, it only affects my older photos before we all moved up in size, but I do have a quite few thousand of these online so I'd like to find a solution!
All ideas gratefully received...
Tony