getThumbnail can return thumb with wrong width

Permalink
I submitted a bug to the bug tracker 3 days ago, but as nothing has happened there yet and I don't want to bother dev guys with false bug, I'd like that someone checks if this is really a bug.

http://www.concrete5.org/community/bugs/getthumbnail-can-return-thu...

Using 5.3.3.1, forgot to mention that in the bug report.

orisinal
 
orisinal replied on at Permalink Reply
orisinal
Now there is patch available.
BigBobbyD replied on at Permalink Reply
BigBobbyD
This might be a stupid question, but where is the patch?
BigBobbyD replied on at Permalink Reply
BigBobbyD
ok... was pretty stupid.

so here's another stupid question: now that I have the patch, what do i do with it?
orisinal replied on at Permalink Reply
orisinal
If your not familiar with linux and shell commands, I recommend you to just edit concrete/helpers/image.php and change lines 43-44 as shown in above url.

If you know how to use shell and there is program called "patch", move the patch file to the concrete5 root and try this command:

patch -p1 < getthumbnail_width_fix.patch