Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2014, 05:11 AM
Swatman1 Swatman1 is offline
 
Join Date: Oct 2013
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 07-16-2014, 03:41 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you referring to a link to an image on your server or a vbulletin attachment?
Reply With Quote
  #3  
Old 07-17-2014, 01:56 AM
Swatman1 Swatman1 is offline
 
Join Date: Oct 2013
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

image on my server.
Reply With Quote
  #4  
Old 07-17-2014, 02:16 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 07-17-2014, 02:17 AM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 07-17-2014, 02:24 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disco_Stu View Post
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?
Reply With Quote
  #7  
Old 07-17-2014, 02:30 AM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by K4GAP View Post
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
Reply With Quote
  #8  
Old 07-17-2014, 02:31 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking at the widget block .... whats wrong with it?
Reply With Quote
  #9  
Old 07-17-2014, 04:22 AM
Swatman1 Swatman1 is offline
 
Join Date: Oct 2013
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04042 seconds
  • Memory Usage 2,232KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete