• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
sonnb - Xenforo Trigger Lightbox

sonnb - Xenforo Trigger Lightbox 1.0.10

No permission to download
Trigger Lightbox view for inserted images and attachments.

sonnb

Well-known member
#1
sonnb submitted a new resource:

sonnb - Xenforo Trigger Lightbox (version 1.0.3) - Trigger Lightbox view for inserted images and attachments.

This is my very old addon and be posted here by request from several members here.

This addon helps you to resize your inserted images and attachments (configurable Width and Height in Options). It also trigger Lightbox rather than enlarge the images that is default behavior of XF.

Installation:
- Upload files inside "upload" folder to your XenForo root.
- Import XML.
- Configure Max width and Max height for your being resized images.
- You are ready to go.

Note: This addon...
Read more about this resource...
 

oman

Well-known member
#2
Hi,

Got two questions about this:
1. What size would you advise the images to be resized to?
2. Does this support images in signatures?

Thanks,
 

sonnb

Well-known member
#3
Hi,

Got two questions about this:
1. What size would you advise the images to be resized to?
2. Does this support images in signatures?

Thanks,
1. It depends on your site. If you have a lot of pictures per thread page, you should specific a smaller size for better content viewing.
2. It was designed to not resize signature's images.
 

oman

Well-known member
#4
1. It depends on your site. If you have a lot of pictures per thread page, you should specific a smaller size for better content viewing.
2. It was designed to not resize signature's images.
Okay, I see. Well, if you do plan on updating this in the future, support for Signature images would be great! :)
 
#5
I wonder which stylesheet I would need to edit to change the image background color to my main content background color as I have a dark skin and the background of transparent images is now white :)

An example would be this image on a dark background
http://i.imgur.com/Uhy7PiL.png

Any help would be appreciated :)
 

sonnb

Well-known member
#9
#10
Tried this addon just now and after installation checked the website and all images had disappeared including from signatures! Disabling the addon fixed the issue, any ideas?
 
#12
Still breaks all the images on the forum, specially Flickr hosted, breaks all imaged on the signature too! But when you click the broken image icon, then they pop up fine in the lightbox! Bizarre!
 
#13
BUG report! I import a lot of newsfeeds from other sites via RSS -- and often these imported articles contain images!
When I enable this addon -- (which I really love) -- these images do NOT show up but show to be blank!
Hope - you could fix this... thanks in advance....
 

giorgino

Well-known member
#14
Code:
ErrorException: getimagesize(http://www.filii.info/euro.gif): failed to open stream: HTTP request failed! - image.php:43
 
#0 [internal function]: XenForo_Application::handlePhpError(2, 'getimagesize(ht...', '/store1/www/it....', 43, Array)
#1 /store1/www/it.immobilio.www/doc_root/image.php(43): getimagesize('http://www.fili...')
#2 {main}
 
array(3) {
  ["url"] => string(85) "http://www.immobilio.it/image.php?url=http://www.filii.info/euro.gif&width=0&height=0"
  ["_GET"] => array(3) {
    ["url"] => string(30) "http://www.filii.info/euro.gif"
    ["width"] => string(1) "0"
    ["height"] => string(1) "0"
  }
  ["_POST"] => array(0) {
  }
}
 

sonnb

Well-known member
#19
The idea behind is to faster speed to users but it might cost your BW on heavy site with images. I would try to update it soon to add an option wherever to bypass image.php resizing.