2007-08-19, 11:00 PM
Pages: 1 2
2007-08-22, 07:54 AM
alifx Wrote:any body got this working in mybb?
http://mods.mybboard.net/view.php?did=306
regards
Some digging revealed that MyBB now have different classes for attachments and other images in a thread.
To fix it, just open imageresizer.php, and change the row
if (document.images[i].className == "postimage")
to
if (document.images[i].className == "attachment")
/Ancan
2007-10-06, 10:52 PM
I also have problem with the imageresizer plugin after I upgraded to version 1.2.9.
I tested to link to a picture in my sig that's big and it wasn't risized at all. The plugin is activated and the setting (under board setting) for it is ok.
I changed the line in imageresizer.php as described in the last post here, and still it's not working (I did not forget to upload it to the plugin directory).
I really really need this plugin to work as some members fails to adapt there signature pictures to the forum width, and my layout is getting destroyed.
//Thx in advance
I tested to link to a picture in my sig that's big and it wasn't risized at all. The plugin is activated and the setting (under board setting) for it is ok.
I changed the line in imageresizer.php as described in the last post here, and still it's not working (I did not forget to upload it to the plugin directory).
I really really need this plugin to work as some members fails to adapt there signature pictures to the forum width, and my layout is getting destroyed.
//Thx in advance
2007-10-08, 12:40 AM
I was also having problems with that pluging..
but I found out that if I made the change Ancan suggest,
AND also "change $replace = '<img class="postimage"$1/>';"
to "change $replace = '<img class="attachment"$1/>';"
(in top of the Php-file).
Then i works for me
but I found out that if I made the change Ancan suggest,
AND also "change $replace = '<img class="postimage"$1/>';"
to "change $replace = '<img class="attachment"$1/>';"
(in top of the Php-file).
Then i works for me
2007-10-08, 01:43 AM
For some reason are there a grey box arround the smilies at my forum when i have tis plugun active
can someone tell me, if this box can be removed without turning off the plugin?
can someone tell me, if this box can be removed without turning off the plugin?
2008-02-05, 10:22 PM
I know this is pretty late, but heck, better late than never...I just saw the post and the everlasting problem was solved
Thanks Don_Doh for the solution you provided. Someone should implement these rewritten codes and provide this script as a 1.2.9-and-later-script on the mod pages.
Cheers
Thanks Don_Doh for the solution you provided. Someone should implement these rewritten codes and provide this script as a 1.2.9-and-later-script on the mod pages.
Cheers
2008-02-06, 10:24 PM
Don_Doh Wrote:For some reason are there a grey box arround the smilies at my forum when i have tis plugun active
can someone tell me, if this box can be removed without turning off the plugin?
I found a solution of this problem:
go to: admin CP / themes / modify / MyBB Default (Default) / edit
The last section should be "additional CSS", find in the box:
img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}
Change: border: 1px solid #E9E5D7;
to: border: 0px solid #E9E5D7;
Don't forget to save...
Solved!
2008-07-21, 10:24 AM
Its working now thanks but is there a way to make it work so that there's a bar that says something like "this image is resized - click here to view it full size". like phpBB or IPB has?
2008-07-22, 12:14 AM
Squiddy, you are welcome, and thanks for you reply
I will try out your solution, on of the comming days
I will try out your solution, on of the comming days
2008-07-31, 12:39 AM
I did this changes and the image resizer still doesn't work for me >.<
I mention that I'm using MyBB 1.2.13 and for some reason, I never got this plugin to work and I've been using MyBB for over an year now...
What can I do? I simply can't get the images from my forum posts or signatures resized.
I mention that I'm using MyBB 1.2.13 and for some reason, I never got this plugin to work and I've been using MyBB for over an year now...
What can I do? I simply can't get the images from my forum posts or signatures resized.
Pages: 1 2