MyBB Community Forums

Full Version: Reduce size of linked-to image?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a user who likes to post images from photobucket. Most are really huge in size (width and height). Is there a way to decrease the display of these images in a thread?
Fit On Page plugin.
Link?
i will recommend you to kindly pm him and tell him to use this site
http://picturepush.com/upa , it re size the image to 3 seized and he
can choose any seize he want , or you can add spoiler
Regular Expression:
Quote:\[spoiler\](.*?)\[/spoiler\]

Quote:<div style="margin:20px; margin-top:5px"><div class="quotetitle"><input class="button2 btnlite" type="button" value="View Spoiler" style="text-align:center;width:115px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide Spoiler'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'View Spoiler'; }" /></div><div class="quotecontent"><div style="display: none;">$1</div></div></div>
how to install :
ACP > configuration > mycode > Add MyCode >fill in the Title,Short Description
and fill in the Regular Expression with the first code
and the Replacement with the second code up there
then just simple add the image code in the thread
with this code
[spoiler]
[Image: hey.png]
[/spoiler]

or you can use this plugin
http://mods.mybb.com/view/fit-on-page

regards
illusion
Found it.

(2012-07-22, 10:07 PM)Omar G. Wrote: [ -> ]Fit On Page plugin.

Awesome! Just what the Dr ordered! :^)

Thank you.