You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 165 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Where have all my images gone???? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
JD_2020
Nuke Cadet
Nuke Cadet


Joined: Nov 05, 2006
Posts: 1


PostPosted: Sun Nov 05, 2006 1:27 pm Reply with quoteBack to top

I am so frustrated..

I upgraded PHP-Nuke from 7.8 to 7.9 and now my images are not displaying. It's not that they aren't displaying so much as, the upgrade removed ALL

Code:
<img src="">

Tags. So in all of my news articles, the spots where images used to be are just gone.

This is NOT a problem with not having the IMG tag allowed in my config.php file, because it isn't a problem with BB Code. It's like the upgrade script somehow corrupted all my news articles.

Any ideas?
Find all posts by JD_2020View user's profileSend private message
tampasounds
Nuke Cadet
Nuke Cadet


Joined: Feb 16, 2004
Posts: 3


PostPosted: Sun Nov 05, 2006 10:45 pm Reply with quoteBack to top

Go into config.php

look for line that has AllowableHTML array(just under do not edit below this line)

be sure that image tag is in the array, if not add it.

EXAMPLE
$AllowableHTML = array("b"=>2,"i"=>2,"strike"=>2,"div"=>2,"u"=>2,"a"=>2,"em"=>2,"br"=>2,"strong"=>2,"blockquote"=>2,"tt"=>2,"li"=>2,"ol"=>2,"ul"=>2, "img"=>2, "img src"=>2, "td"=>2, "tr"=>2, "table"=>2, "div"=>2, "tbody"=>2);

I added the last 7 tags which were missing from default config to allow tables and images that were getting stripped.
Find all posts by tampasoundsView user's profileSend private message
doc007
Nuke Cadet
Nuke Cadet


Joined: Jan 07, 2007
Posts: 2


PostPosted: Sat Jan 06, 2007 5:16 pm Reply with quoteBack to top

And what do the numbers denote after the tag and "=>"? All but one of mine are set to 1 by default. I see you have your's all set to 2.
Find all posts by doc007View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Sat Jan 06, 2007 7:28 pm Reply with quoteBack to top

2 is to allow attributes
for example
Code:

<img src="image.jpg">


While 1 is without attributes, for tags such as
Code:

<center>

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
doc007
Nuke Cadet
Nuke Cadet


Joined: Jan 07, 2007
Posts: 2


PostPosted: Sat Jan 06, 2007 8:33 pm Reply with quoteBack to top

Ahh, I see. Thanks!
Find all posts by doc007View user's profileSend private message
huang1



Joined: Dec 18, 2015
Posts: 0


PostPosted: Thu Dec 17, 2015 6:48 pm Reply with quoteBack to top

New York Giants Jerseys
New York Jets Jerseys
Oakland Raiders Jerseys
Philadelphia Eagles Jerseys
Pittsburgh Steelers Jerseys
San Diego Chargers Jerseys
San Francisco 49ers Jerseys
Seahawks Jersey
St. Louis Rams Jerseys
Tampa Bay Buccaneers Jerseys
Tennessee Titans Jerseys
Washington Redskins Jerseys
Air Jordan XI
kobe 10 christmas
lebron 13 christmas
roshe shoes
stephen curry one
air max 90 sale
nike air max thea
Find all posts by huang1View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.172 Seconds - 176 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::