Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
IMG tags being stripped on ftp
Old 12-02-2006, 03:25 PM IMG tags being stripped on ftp
Junior Talker

Posts: 3
Name: Cath Wooff
Location: East Yorkshire
Trades: 0
Hello all - Am designing gallery for site and having a slight problem with img tags when I FTP them on - basically some are being stripped out leaving only the link code but nothing else. What makes it worse it isn't even consistent. The .html file is handcoded and is W3C valid.

Code 1:
<div class="image_gallery"><a href="sources/s1674.html"><img src="images/t125/s1674b.jpg" alt="Len's Prayer Book" height="125" width="125" /></a></div>

Code 2:
<div class="image_ind"><a href="../gallerypages/grp1.html"><img src="../images/t70/ind7imga.jpg" alt="3 Wooff Generations" height="70" width="70" /></a></div>

After FTP Code2 is fine and displays image and links to appropriate page.

However Code 1 is cut to just:
<div class="image_gallery"><a href="sources/s1674.html">a></div>
Shows no image and no link.

The CSS is valid and is exactly same for both classes apart from margins/paddings.

I've found a workround and that is just not to use the height/width definition in img tag on code 1 but it's annoying me that I have to and wondered if anyone else had encountered same problem?

regards
Cath
__________________
Meet my ancestors at
Please login or register to view this content. Registration is FREE
cath196 is offline
Reply With Quote
View Public Profile Visit cath196's homepage!
 
 
Register now for full access!
Old 12-02-2006, 06:16 PM Re: IMG tags being stripped on ftp
Junior Talker

Posts: 3
Name: Cath Wooff
Location: East Yorkshire
Trades: 0
Have solved this by putting the height and width tags for the pages/classes where I need a defined size in the CSS - why didn't I think of that first!
__________________
Meet my ancestors at
Please login or register to view this content. Registration is FREE
cath196 is offline
Reply With Quote
View Public Profile Visit cath196's homepage!
 
Old 12-02-2006, 06:31 PM Re: IMG tags being stripped on ftp
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
That's not really a valid solution, because it doesn't explain why you're getting those tags stripped on FTP.

That sounds like an issue with your FTP program. What are you using?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 12-02-2006, 08:02 PM Re: IMG tags being stripped on ftp
Skilled Talker

Posts: 64
Name: Timothy Nerbonne
Trades: 0
I know cracked copies of Flash FXP will corrupt files sometimes. It really isn't normal for ftp programs to change your files! Like Adam asked, what program are you using?
nerbonne is offline
Reply With Quote
View Public Profile
 
Old 12-09-2006, 11:32 AM Re: IMG tags being stripped on ftp
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It isn't your FTP package

You have something like Nortons IS or another adblocker installed on your computer and is intercepting the HTML then stripping out the images.

125x125 and 70x70 are "standard" banner sizes so are stripped out by "adblockers"
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to IMG tags being stripped on ftp
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15838 seconds with 12 queries