![]() |
Success!
I dropped the imageload.gif /forum/ dir and remove the external paths from the script and it now works just like the demo! Looks great! Hope this helps someone else gat passed the lost navigation buttons :D The last itty bitty thing I noticed is that your demo has the image name and some attributes :) How did you get this? |
Check the second post, it has tons of extra features you can implement :D
hope that helps as well |
Thats awesome Ntfu2, I did the mod and its perfect!
I totally love this hack.. can't say it enough Heres a few small performance tips for all you fans out there.
Hope this helps and good luck with this great hack! |
I've been looking for something like this for about a year now.....HOTM
|
Any change to make this working with inserting images and not just for attach images?!
|
not yet, it does work with [attach] tags now though check the second post.
|
hmmmmm
When I add Code:
<!--LightBox By Dave At FightRice --> I click edit (the little quick edit box pops up) and both save and cancel (abort) buttons don't function anymore.... this only happens in threads where there's an attachment... When I remove the code from postbit_legacy the quick edit buttons function again, regardless of attachments or not so it's got to do with the javascript. Any ideas before I spend hours troubleshooting this? |
I have no clue, I havent experienced that on my own forums yet :-\
|
Danggggggggggg installed!!!
|
dont forget to click it ;)
Thanks -Dave |
Well I can't can't figure it out right now, same thing happens anywhere within the postbit template, perhaps I can add it to one of the header templates to make it work properly.
BTW - the only complaint I've received from users is that the images do not resize. If someone adds a 2048x2048 pic and users click the thumbnail, they have to scroll all over the place and can't really make anything out because the original size is just too big. Normally a browsers automatic image resizing takes care of this but it seems to be disabled when using your hack. Any plans to get this working again somehow? Overall it's a beautiful hack and I'll continue to use it once the images can be automatically resized or the image resizing for browsers works :) |
I have a version coming that resizes images automatically, but sadly the next and previous buttons do not work at the same time with it. because there is the option to view the image in full size.
When adding the javascript into the headinclude template it calls them every time the page is loaded and can have an effect on performance sometimes. |
Quote:
Lady Divus |
Updated first post to include instructions for image resize and a overlay.
here is a demo: http://www.fightrice.com/forums/site...-test-197.html My sites running like poo right now, if you go there and its down, just check back Quick edit also seems to work fine in this version, someone else will need to confirm that for me please :D |
Ntfu2, i did everything you said to do for this new resize release, but for the life me i cant get it to work. It just stopped working altogether and opens the images in a seperate window with a white background, (vB Default view)...
I undid all the previous template edits, i deleted all the previous files from my server, i edited the new js file to point to my site images, i did the new template edits, i uploaded all the new files to my server. Am i doing something wrong? Thank you for any help in advance - Lady Divus |
did you change the rel="lightbox[attachment]" to simply rel="lightbox" ?
|
Quote:
|
When I load up the three pics on your demo site I simply get the pic with a nice border around it and a small x in the upper right hand corner. Anywhere I click on the pic once it's loaded, it goes away. No prev or next. The name size and number of times loaded shows as a tooltip and that's it.
Now on my site I get the annoying prev/next with a flashing line right in the middle of the pic where each click side is separated. I get the animation of the box and the sliding down with the name,size and loaded times but only on the pics without bbcode [attach]. I love the way the demo site works, clean and simple. Load the pic, close the pic, click on the next pic to see it. What is different about your demo site and the instructions you have provided here? Also I do have it loaded the bbcode pics on 3.5.3 since you said you'd only tested in 3.5.4. |
The demo site is now running the 2nd version "lightboxresize.zip"
Simply undo all template edits from previous version, and follow instructions in the second part of the first post - /////////////////////////////////////////////////////////////\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\/ Dynamic Lightbox auto resize - and image overlay. /////////////////////////////////////////////////////////////\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\/ From there down to get the same version as on demo site now.q |
Perfect! :)
Are you adding the bbcode support to the second one? |
bbcode as in attach?
on the php edit, instead of rel="lighbox[attachment]" make it simply rel="lightbox" I'll change the code tomorrow. for now sleep :D |
That worked like a champ. :)
|
Now I noticed a heck of a delay in loaded the thread with this active. About twice as long. So I moved the .js to the showthread template instead of the postbit. It appers to be working fine and the speed is back.
So my question is, what is wrong with this idea? I mean, Murphy is bound to rear his ugly little head... |
Nothing as long as all works.
I never tested it in the showthread. I had it in the headinclude which was causing MAJOR performance issues and putting it in the postbit was the next logical thing i came up with. thanks for the tip ;) |
I have found a problem which only happens when this mod is installed....
The Quick Reply box gets messed up..as in below. It happens to the Fonts drop-down and the sizes drop-down. https://vborg.vbsupport.ru/external/2006/05/4.jpg Cheers. |
i cant even get the advanced editor in my quick reply to show up, where do i enable this so i can try to fix
|
Quote:
Lady Divus Edit: Hmm, guess i should have looked at the big screenshot huh? I never knew there was an Advanced Editor for Quick Reply...I would also like to know how to enable it...Or is that screenie of Quick Edit? Interesting... |
Thank you, Ntfu2! :)
|
Ntfu2, if you want the next and previous images to show up you need to use:
rel="lightbox[photos] this will group the images. ps. Is that the sound of a Photopost hack with lightbox I hear coming?! |
for what version.
The first version already includes that. |
this thing is beautiful....great work...
Peace |
Cool, I was wondering when this would get ported to vB. :)
[high]* DirectPixel installs.[/high] You might want to give some credit to the guy who actually wrote the lightbox script. ;) |
Quote:
updated :) forgot to put it back in when i updated it with another version ;) |
Awesome works great - http://digitalet.net/forum/showthrea...newpost&t=2681
|
I changed one part on this script. I change the rel="lightbox[attachment] to rel="lightbox[attachment$post[postid]]" that way if you have a bunch of attachments in a post it wont cycle through the entire topic of attachments, only the ones in THAT post.
|
Cool Good tip.
thanks |
NTFU, is there anyway we can use imagemagick to autoresize the image?? So if someone uploads a huge image, imagemagick will shrink it and then lighbotx kicks into action???
Peace |
Quote:
|
Quote:
this wont work with anything posted with the [img ] tags anyway. |
Am I doing something wrong or is saving the images with Firefox impossible? Whenever I do a right click on the image the only options I see are "Save Page as" or "Save Link as", but not "Save Image". If I do it in IE I have to hit the area where there are no "previous" and "next" links.
Other than that, I can't put it in words how wonderful this looks. :D |
All times are GMT. The time now is 02:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|