Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Jul 2007, 20:28
brfrankl's Avatar
brfrankl brfrankl is offline
 
Join Date: Jul 2007
highslide for IMG BBCODE

Anyone have a hack for using the highslide stuff with IMG tags?

Last edited by brfrankl; 27 Jul 2007 at 15:23.
Reply With Quote
  #2  
Old 30 Jul 2007, 15:40
soulplayer soulplayer is offline
 
Join Date: Mar 2004
yeah this would be cool to
Reply With Quote
  #3  
Old 01 Sep 2007, 18:53
salata salata is offline
 
Join Date: Nov 2003
bump
Reply With Quote
  #4  
Old 02 Sep 2007, 05:51
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Real name: Dana
From my post in the Highslide thread:
http://www.vbulletin.org/forum/showp...&postcount=392

You can add an additional [img] tag in BBCode, and it will get parsed in place of your regular img code.

Once you have Highslide installed and working for Attachments, here is what I did (not pretty, very rudamentary, but working!):

In AdminCP>Custom BB Codes> BBCode Manager, scroll to bottom and click Add New.

Title: Image
Tag: img
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: (Whatever you want)
Description: (Whatever you want)

Note: I added another BBCode called imgsmall which does NOT use highslide. I use this for instructions, etc, where the image itself is smaller than 100px, so it would make no sense to have a thumbnail for it.
I use the following replacement code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 02 Sep 2007, 08:10
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
http://www.vbulletin.org/forum/showt...150491&page=47
Reply With Quote
  #6  
Old 02 Sep 2007, 19:57
brfrankl's Avatar
brfrankl brfrankl is offline
 
Join Date: Jul 2007
Originally Posted by Elenna View Post
From my post in the Highslide thread:
http://www.vbulletin.org/forum/showp...&postcount=392

You can add an additional [img] tag in BBCode, and it will get parsed in place of your regular img code.

Once you have Highslide installed and working for Attachments, here is what I did (not pretty, very rudamentary, but working!):

In AdminCP>Custom BB Codes> BBCode Manager, scroll to bottom and click Add New.

Title: Image
Tag: img
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: (Whatever you want)
Description: (Whatever you want)

Note: I added another BBCode called imgsmall which does NOT use highslide. I use this for instructions, etc, where the image itself is smaller than 100px, so it would make no sense to have a thumbnail for it.
I use the following replacement code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Only problem is when there ia a [img] in the sig (didn't think of this before).. gonna have to play with this.... thanks fo the idea though...
Reply With Quote
  #7  
Old 03 Sep 2007, 01:13
salata salata is offline
 
Join Date: Nov 2003
Originally Posted by brfrankl View Post
Only problem is when there ia a [img] in the sig (didn't think of this before).. gonna have to play with this.... thanks fo the idea though...
please keep me updated if you find away around this, i'd like to know how to do that as well
Reply With Quote
  #8  
Old 03 Sep 2007, 07:30
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Did you guys check that link I sent? The mod I'm working on there does images with highslide also.
Reply With Quote
  #9  
Old 03 Sep 2007, 16:18
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
I am following this with much interest. I hope you find a way to make it less rudamentary.
Reply With Quote
  #10  
Old 25 Sep 2007, 20:38
parabat parabat is offline
 
Join Date: Apr 2006
Awesome

Elenna, this works like a dream. Thanx for your assistance in this one.

-PB
Reply With Quote
  #11  
Old 26 Sep 2007, 11:53
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
This works, but if a image is smaller than a thumbnail, it wll be enlarged. This includes smiley's. These images will look very bad. Asides that; if such an image is clicked and the image resizes to its original size, it will display 'powered by Highslide'. Clicking that image loads the highslide homepage in the same window and brings your visitor to their website.
Is there a solution for this?
Reply With Quote
  #12  
Old 28 Sep 2007, 17:26
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by Alfa1 View Post
This works, but if a image is smaller than a thumbnail, it wll be enlarged. This includes smiley's. These images will look very bad.
Same here... I set the thumbnail size to 150 and now images that are smaller than that get enlarged. Ideally I'd like it only to resize things that are larger than 150, and leave everything else alone.

For now I left the IMG tag set to the original default, and use Spleasure's ncode image resizer to keep them small.

And then I assigned this highslide effect to a brand new bbcode: [imgh]
But ideally I'd like them to work in concert...
Reply With Quote
  #13  
Old 29 Sep 2007, 06:01
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
I'll post this again. But my hack http://www.vbulletin.org/forum/showt...150491&page=47 does images with highslide.
Reply With Quote
  #14  
Old 29 Sep 2007, 13:02
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Originally Posted by nix View Post
I'll post this again. But my hack http://www.vbulletin.org/forum/showt...150491&page=47 does images with highslide.
Can you please post a links to where this is explained or can you please explain how your hack handles [IMG] tags and small images?
Reply With Quote
  #15  
Old 06 Oct 2007, 12:49
Defkalion Defkalion is offline
 
Join Date: Jan 2007
This is a very nice hack, I do have one question though.

Is it possible to use it with other img bbcodes besides the default [img] code?

I use on my website the "image floating left" bbcode , that enables the text to wrap around the image. This tag is [imgl] for example, but of course these images don't get resized by this hack. Is there any easy way to make this hack work with this tag too?
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements Resize IMG tag with Highslide! ry215 vBulletin 3.7 Add-ons 469 23 Oct 2015 08:18
Integration with vBulletin vBgallery - vBulletin Highslide integration Sakera vBulletin 3.6 Add-ons 24 21 Sep 2008 15:18



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:09.

Layout Options | Width: Wide Color: