http://postimg.org/image/s11tyoub3/ this is how it looks after upgrading to 3.3, notice the white line on the right. Is it possible something went wrong during upgrade?
edit: original picture doesn't have white line, so its problem after resizing it to certain dimension. every image except original have white line
edit2: tried clearing images/thumbs folder and letting nop generate new thumbs, didnt working either
edit3: after clearing everything and restarting application some pictures have that white line some dont, still cant figure whats the problem... anyone have idea? please its huge issue
I've noticed that Nop resizes original square pictures (e.g. 125x125, target size 47)
to rectangular picture 47x46. One pixel is lost due to calculation problem
in CalculateDimensions method in PictureService, casting float to int.
The resulted image must be in square 47x47.
I just created a work item for this issue. Please go and vote for it if you're impacted.
Those of us that are using anything other than pure white for the background of thumbnails in CSS are likely experiencing it depending on the input/output dimensions that the resizing code works with.
Hey craig, thanks for answer we fixed it, i was wondering does the same thing happens when black pixels are added? I have problem specifically with .gif noimage available and it gets 1px black on right side again, but only at _125px?
Thanks once again
P.S. i fixed it by manually adding _125 thumb on ftp, but im just wondering in case this happens to large ammount of pictures