View Full Version : if an article hasn't an image, how to keep red x from showing up in IE
<a href="http://x5world.com/articles.php?action=viewarticle&artid=3" target="_blank">http://x5world.com/articles.php?acti...rticle&artid=3</a>
if there isn't an image, can we just skip the article images box?
also, is there a way to turn it off (the article images box)?
thanks
CINQ -- great hack. loving it!
iamboard
03-10-2005, 01:13 PM
Basically same question. Is there a way to post articles without images.
It is likely people may want to supply newspaper type articles without supplying images.
iamboard-- good question too.
i am interested in posting an article with one image -- the image icon, and hot linking to an already set directory elsewhere in line for the other images.
i just want to "turn off" the box with the red X -- meaning the entire Article Image box on the right.
Does anyone know where in the code to look? I tried several attempts at changing article.php but I think its more a template issue.
Thanks
I FOUND IT!!
template article_view
remove the following:
<tr><td class="thead" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('articleimgs');"><img id="collapseimg_articleimgs" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_articleimgs].gif" alt="" border="0" /></a>
$vbphrase[vbart_artimgs]</td></tr>
<tbody id="collapseobj_articleimgs" style="$vbcollapse[collapseobj_articleimgs]">
<tr>
<td class="alt1" align="center">//
$screen
<br>
<span class="smallfont"><a href="articles.php?action=viewallimg&artid=$artid&title=$tagtitle">$vbphrase[vbart_moreimgs]</a><br>($vbphrase[vbart_total]: $totalimages)</span>
</td></tr>
</tbody>
gets rid of the block, and the errors.......
yeah!
twoseven
03-13-2005, 11:57 PM
but what would be a nicer way to check to see if there is a screen shot there or not to decide wether to display the block or not
but what would be a nicer way to check to see if there is a screen shot there or not to decide wether to display the block or not
That's how i plan to do it in 2.1 :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.