vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Adding images to Vbulletin CMS Widget (https://vborg.vbsupport.ru/showthread.php?t=313012)

Swatman1 07-16-2014 05:11 AM

Adding images to Vbulletin CMS Widget
 
I know how to add images from sites such as photobucket or imgur to the widgets as a button, but how do i do it if I am hosting the file myself?

tbworld 07-16-2014 03:41 PM

Are you referring to a link to an image on your server or a vbulletin attachment?

Swatman1 07-17-2014 01:56 AM

image on my server.

K4GAP 07-17-2014 02:16 AM

Use the same code as photobucket or any where else just change the path to the image .... (the image url) to your images address that is on your server.

Disco_Stu 07-17-2014 02:17 AM

If you mean a CMS Static HTML Widget then just add a normal HTML image statement like this:

<img src="xxxxxx" />

Just replace the xxxxxx with the path to the image. You will need to be concerned with the image size as a widget size can be restrictive

Take a look at my site. The widget on the left is the CMS widget that I display on most of the pages and the one on the right is a Forum Block HTML widget. The CMS widget has nine clickable images

www.pjksoftware.com

K4GAP 07-17-2014 02:24 AM

Quote:

Originally Posted by Disco_Stu (Post 2507145)
If you mean a CMS Static HTML Widget then just add a normal HTML image statement like this:

<img src="xxxxxx" />

Just replace the xxxxxx with the path to the image. You will need to be concerned with the image size as a widget size can be restrictive

Take a look at my site. The widget on the left is the CMS widget that I display on most of the pages and the one on the right is a Forum Block HTML widget. The CMS widget has nine clickable images

www.pjksoftware.com

Make the images the size you want them to display at.

--------------- Added [DATE]1405567523[/DATE] at [TIME]1405567523[/TIME] ---------------

I have to ask .... is this a licensed vb site?

Disco_Stu 07-17-2014 02:30 AM

Quote:

Originally Posted by K4GAP (Post 2507148)
Make the images the size you want them to display at.

--------------- Added [DATE]1405567523[/DATE] at [TIME]1405567523[/TIME] ---------------

I have to ask .... is this a licensed vb site?

If you're asking me yes it is 100% legal. I paid extra for branding free option. I don't advertise for vBullletin or anyone else

fyi....I use vBulletin more as a development tool than a forum package. I change much of the php and templates to suit my needs

K4GAP 07-17-2014 02:31 AM

I'm looking at the widget block .... whats wrong with it?

Swatman1 07-17-2014 04:22 AM

So I would have to do

<img src="images/photo.jpg" /> to link it from my server?

putting ranking systems up in the admin section of VB I usually have to do url(images/picture.jpg) to get it to show up once it reaches the forum.


All times are GMT. The time now is 09:18 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
  • Page Generation 0.01099 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete