Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick Image display
Author Message
ByteHunter
Senior Member


Posts: 293
Joined: Dec 2008
Reputation: 2
Thanked 0 Times in 0 Posts
MyBux: 301
Post: #1
Quick Image display
Hi everybody . Its again me :boredom: ...
What is the plugin uset there to display the image with ajax (or at least I think its ajax :P ) ?
I Googleed , I MyBBed and I found nothing :(
Please help me :(
Thanks :good2:
ByteHunter
05-21-2009 10:53 PM
Nickman
Manager



Posts: 1,843
Joined: May 2008
Reputation: 37
Thanked 2 Times in 2 Posts
MyBux: 844
Post: #2
RE: Quick Image display
What do you mean? I think you mean lightbox (google that).
05-22-2009 12:04 AM


ByteHunter
Senior Member


Posts: 293
Joined: Dec 2008
Reputation: 2
Thanked 0 Times in 0 Posts
MyBux: 301
Post: #3
RE: Quick Image display
I just download it :)
Thanks for help and soory for that mant support topics
Edit : How can I install it ? I understand that I need to include the .js file (using heardinclude) but how can I add "rel="lightbox" attribute to any link tag to activate the lightbox" ? Thanks for help
Where could I edit the IMG code to add it ?
(This post was last modified: 05-22-2009 02:28 AM by ByteHunter.)
05-22-2009 12:08 AM
ByteHunter
Senior Member


Posts: 293
Joined: Dec 2008
Reputation: 2
Thanked 0 Times in 0 Posts
MyBux: 301
Post: #4
RE: Quick Image display
Ok . I`ve modified the "postbit_attachments_thumbnails_thumbnail" tempelate and replaced the code with this :
<a href="attachment.php?aid={$attachment['aid']}" rel="lighbox"><img src='attachment.php?thumbnail={$attachment['aid']}'</a>
Now it works in .png / .gif attachment types . I want to modify the [img][/img] code to add the "rel="lightbox" . how can I ?
05-22-2009 02:37 AM


Nickman
Manager



Posts: 1,843
Joined: May 2008
Reputation: 37
Thanked 2 Times in 2 Posts
MyBux: 844
Post: #5
RE: Quick Image display
you will probably have to modify inc/class_parser.php
05-22-2009 01:09 PM
ByteHunter
Senior Member


Posts: 293
Joined: Dec 2008
Reputation: 2
Thanked 0 Times in 0 Posts
MyBux: 301
Post: #6
RE: Quick Image display
If I add a new mycode with the same code as the [img] it will replace it but now I think is a bad idea because many of my users link sites with banner and it wouldn`t work .
Thanks for help
05-22-2009 01:56 PM


 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Creating my own NEWTHREAD page... need some quick infos BrownChiLD 3 64 04-15-2009 01:51 AM
Last Post: ByteHunter



New to MyBBSource?Need Assistance?
  • Mark Forums Read
  • View Forum Staff
  • Looking for a MyBB Host?




Theme created by AK-47. Find more great themes and skins at K! Dezign R1s.net