2012-05-14, 04:44 PM
(2012-05-14, 11:53 AM)Matt-One Wrote: [ -> ]is this plugin working with image link to imageshack for example? or only with image hosted on my web server?
I'm pretty sure it works with any and all images.
(2012-05-14, 11:53 AM)Matt-One Wrote: [ -> ]is this plugin working with image link to imageshack for example? or only with image hosted on my web server?
(2012-05-13, 03:42 AM)Shemo Wrote: [ -> ]g33k,
looking at this post here, is it possible to force a max width only on the portal page? for example, if a photo is larger than 550px wide, your plugin will resize it, but only on the portal page.
(2012-05-14, 11:53 AM)Matt-One Wrote: [ -> ]is this plugin working with image link to imageshack for example? or only with image hosted on my web server?
(2012-05-15, 06:01 AM)- G33K - Wrote: [ -> ](2012-05-13, 03:42 AM)Shemo Wrote: [ -> ]g33k,
looking at this post here, is it possible to force a max width only on the portal page? for example, if a photo is larger than 550px wide, your plugin will resize it, but only on the portal page.
If you want it only on the portal then install the plugin and remove the jscript call elements from all the other templates except the portal.
You can check the templates that are changed here: http://community.mybb.com/thread-53553-p...#pid582651
(2012-05-15, 09:18 PM)Shemo Wrote: [ -> ](2012-05-15, 06:01 AM)- G33K - Wrote: [ -> ](2012-05-13, 03:42 AM)Shemo Wrote: [ -> ]g33k,
looking at this post here, is it possible to force a max width only on the portal page? for example, if a photo is larger than 550px wide, your plugin will resize it, but only on the portal page.
If you want it only on the portal then install the plugin and remove the jscript call elements from all the other templates except the portal.
You can check the templates that are changed here: http://community.mybb.com/thread-53553-p...#pid582651
I want to use it in conjunction with the rest of the forum, but I want to use a different max width for the portal section separate from the max width of the threads in the forum because the portal section that pulls announcement isn't as wide as a standard thread.
hope that makes sense.
for example, I want the max width for photos on the portal to be 550px; anything larger than that, your plugin would resize them. for my forum, I have it set to auto.
var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
var fitonpage_resize = "550";
(2012-05-20, 09:37 AM)- G33K - Wrote: [ -> ](2012-05-15, 09:18 PM)Shemo Wrote: [ -> ](2012-05-15, 06:01 AM)- G33K - Wrote: [ -> ](2012-05-13, 03:42 AM)Shemo Wrote: [ -> ]g33k,
looking at this post here, is it possible to force a max width only on the portal page? for example, if a photo is larger than 550px wide, your plugin will resize it, but only on the portal page.
If you want it only on the portal then install the plugin and remove the jscript call elements from all the other templates except the portal.
You can check the templates that are changed here: http://community.mybb.com/thread-53553-p...#pid582651
I want to use it in conjunction with the rest of the forum, but I want to use a different max width for the portal section separate from the max width of the threads in the forum because the portal section that pulls announcement isn't as wide as a standard thread.
hope that makes sense.
for example, I want the max width for photos on the portal to be 550px; anything larger than that, your plugin would resize them. for my forum, I have it set to auto.
In your portal template find this line:
var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
and replace it with
var fitonpage_resize = "550";
Replace 550 with your size. You might have to add 200 to this value if you want to resize at exactly 550, so enter 750 instead of 550, this is because the plugin compensates about 200px for the sidebar in the portal.
(2012-06-16, 08:36 AM)niere8 Wrote: [ -> ]On my Pro Portal, Fit on Page doesn't work..maybe because I have proportal as homepage..