291605
Quote:
jpboss wrote:
The thumbnails was all "wierdo" with this hack (I didn't notice if it was before the hack). If the image was in "portrait" aspectratio and not "landscape" the thumbnail was zoomed up and got pixelated.
[snip]
FYI, I got about the same effect by changing getFullPath() to getFullThumbPath() in both functions (b_xoopsgallery_newshow and b_xoopsgallery_getRandomImage).
Lines 20 and 75 now read:
if (false !== $hw = getimagesize($images[$i]->getFullThumbPath())) {
instead of:
if (false !== $hw = getimagesize($images[$i]->getFullPath())) {
Thanks for posting the info on this.