vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Replacement variable to external image? (https://vborg.vbsupport.ru/showthread.php?t=200458)

transparent 01-02-2009 07:46 PM

Replacement variable to external image?
 
Does anyone know the proper code to link to an external image through replacement variable?

Thank you for your time!

Lynne 01-02-2009 07:58 PM

The images you are trying to replace probably account for such a minute amount of your bandwidth. Once a user browses to a page, the images get cached and don't get served up to the user again. If you are worried about bandwidth, I suggest you look at other bigger ticket items than little rank images and icons.

transparent 01-02-2009 09:23 PM

Do you know the proper HTML to use to link to an external image in the replacement variable field?

Medtech 01-02-2009 09:27 PM

sample:ht tp://img122.imageshack.us/img122/2662/yourimage.png

host the image and insert url into the variable

transparent 01-02-2009 09:40 PM

Using the direct URL doesn't work.

Lynne 01-02-2009 11:28 PM

I don't think either Imageshack or Photobucket allow hotlinking. You'll have to find someplace else to host the images.

transparent 01-03-2009 01:14 AM

It has nothing to do with ImageShack or Photobucket.

dismas 01-03-2009 01:23 AM

Quote:

Originally Posted by Lynne (Post 1699845)
I don't think either Imageshack or Photobucket allow hotlinking. You'll have to find someplace else to host the images.

Photobucket allows hotlinking. I use it all the time for images when I post to various forums.

transparent 01-03-2009 01:31 AM

Your right Dismas.

Lynne 01-03-2009 02:16 AM

I could have sworn at least one of them didn't allow hotlinking. Oh well, anyway.... why don't you post what you were using as the replacement variable and tell us what the result was and then perhaps we can help you fix it.

transparent 01-03-2009 05:47 AM

The image does appear but it has the additional code underneath it.

Any suggestions?

Lynne 01-03-2009 04:41 PM

That is because you are not putting the full image tab (from the first < to the > ) in to be replaced so the extra stuff is being spit out. Put the full image tag in there.

transparent 01-03-2009 07:18 PM

I'm not sure what you mean. Can you give me an example ?

Lynne 01-03-2009 07:24 PM

Well, what does the image normally look like in the page source? Like this:
<img src="sss/yyy/image.jpg" alt="" border"0" />

Then that is what you need to put in the replacement manager. You never said what you put in as the code to be replaced. (You only showed us your replacement code.)

transparent 01-03-2009 07:37 PM

O, I see what your saying.

Lynne 01-03-2009 09:20 PM

And unfortunately I really can't answer that question. I think it's one of those things you need to evaluate yourself. See what your loads are like and what your bandwidth usage is like before making the change, and then evaluate it after making the change.


All times are GMT. The time now is 05:49 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.01006 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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