vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - BBCode: Resize Image with Text Wrap (https://vborg.vbsupport.ru/showthread.php?t=248863)

ricardoNJ 05-19-2012 03:57 PM

alt=" blablabla"
;)

midnz 05-19-2012 04:56 PM

Quote:

Originally Posted by ricardoNJ (Post 2330742)
Great but...is possible add a text in, like: "click to rezise this picture"???

Quote:

Originally Posted by ricardoNJ (Post 2330745)
alt=" blablabla"
;)

You're probably best to use: title="blablabla"

title provides the image hover message whereas alt is meant to display a message if the image doesn't display.
alt
might work like title is some, but not all browsers.

ricardoNJ 05-19-2012 06:46 PM

Quote:

Originally Posted by midnz (Post 2330758)
You're probably best to use: title="blablabla"

title provides the image hover message whereas alt is meant to display a message if the image doesn't display.
alt
might work like title is some, but not all browsers.

Ok, then could you please add a modification about my question, up there?

midnz 05-20-2012 06:30 AM

Quote:

Originally Posted by ricardoNJ (Post 2330784)
Ok, then could you please add a modification about my question, up there?

Sure, try this:

Code:

<img src="{param}" title="double mouse click to enlarge image/ single mouse click to reduce back to original size" width="200"  ondblclick='this.src="{param}";this.width=600' onclick='this.src="{param}";this.width=200' align="left" hspace="10">
Change the title text to suit what you want.

ar15dcm 10-21-2012 09:04 AM

What if you have a mix of large and small images, is there a way if the image is smaller to not change its size?

midnz 10-21-2012 04:15 PM

Quote:

Originally Posted by ar15dcm (Post 2374725)
What if you have a mix of large and small images, is there a way if the image is smaller to not change its size?

Create a new BB Code but change all 3 instances of width=XXX to the same value.

Example:
Code:

<img src="{param}" width="100"  ondblclick='this.src="{param}";this.width=100' onclick='this.src="{param}";this.width=100' align="left" hspace="10">
OR

You can download Borgs' [BB Code] Pack For vB 4.0.2+ and use the "Float Left" BB Code from that package

ar15dcm 10-27-2012 08:30 PM

I guess what I was asking is more javascript related. If I did that, then by big images would be small.

But, another question... Is there any way to add a style like a radius corner on the images using this in the code;


Code:

style="border-radius:8px;"
When tried it, it worked on the corners but I lost the padding on the preview article.

Thanks,

midnz 10-30-2012 06:16 PM

Quote:

Originally Posted by ar15dcm (Post 2376392)
I guess what I was asking is more javascript related. If I did that, then by big images would be small.

But, another question... Is there any way to add a style like a radius corner on the images using this in the code;


Code:

style="border-radius:8px;"
When tried it, it worked on the corners but I lost the padding on the preview article.

Thanks,

Rather than just ignore you I thought I'd reply and let you know that I don't currently have any spare time to investigate a way to accomplish what you want to do ... I'm sorry.


All times are GMT. The time now is 07:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01225 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete