• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Resize function in XF\Image\AbstractDriver uses the wrong height value

Affected version
XFMG 2 beta 3

Bionic Rooster

Well-known member
#1
This is the water mark up loaded
Screenshot_1.png
This is the distorted and enlarged water mark placed on image
Screenshot_2.png

This is the same water mark above displayed on image in XFMG 1.1.13
Screenshot_3.png
 

Chris D

XenForo developer
Staff member
#2
Can you upload the original watermark image so that we can do some testing with it?

You can right click and save it via the preview in the Admin CP.
 

Chris D

XenForo developer
Staff member
#4
This did end up being a XF2 bug, after all, but just a note to bear in mind that we do have an XFMG bug reports forum so generally if you suspect an issue with XFMG itself, the bug should be posted there.

But, indeed, as I said the problematic code was in the XF image driver itself on this occasion. The width value was being passed in for the height, making the watermark a lot bigger than it needs to be. Should be sorted for the next release.

I would say, however, that the actual watermark image you're using is very small compared to the size of the images that could be uploaded. You'd likely see a better quality watermark if you used a larger image.
 

Chris D

XenForo developer
Staff member
#7
@Chris D as a side note, will you be putting the settings like above back into the new version of XFMG?
Nope. Generally trying to avoid having so many settings. It's fairly overwhelming to new users and most just stick with the defaults. Generally the defaults are sufficient.
What size would you suggest for a better quality watermark?
The bigger the better. 500px? Something like that.
 

Bionic Rooster

Well-known member
#8
Nope. Generally trying to avoid having so many settings. It's fairly overwhelming to new users and most just stick with the defaults. Generally the defaults are sufficient.
That's too bad, I like the ability to control the size and position of the watermark. IMO there's nothing 'overwhelming' about the current watermark settings in XFMG 1.1.13 as they are simplistic and straight foreword.
 

Chris D

XenForo developer
Staff member
#9
It's a compound problem. We now have a single page of options rather than having to have many tabs of different options. "Keep it simple" etc.

I wouldn't expect you to find the options overwhelming. After all you're not a new or inexperienced user.