You are here: PSPad forum > English discussion forum > Files with long lines are hard to handle

Files with long lines are hard to handle

Goto Page: Previous1 2

#11 Re: Files with long lines are hard to handle

Posted by: pspad | Date: 2015-02-06 14:17 | IP: IP Logged

There is no difference between portable or multiuser PSPad. The difference is in placement of config files only.

Options: Reply | Quote | Up ^


#12 Re: Files with long lines are hard to handle

Posted by: carbonize | Date: 2015-02-07 11:03 | IP: IP Logged

Andreas:
carbonize:
I am using PSPad in portable mode and whenever I use this function I get told that the image format is either unsupported or the file is broken. It then creates the code anyway but with one small bug.

border="0"">

A surplus "

I also use the portable mode and no error here. Maybe your image is defect. Check your image e.g. with xnView.

border="0" is not a bug. You can disable it in special settings
DragImgBorder=0

You misunderstood what the bug is. There are two " after the value.

Jan it does it with any image from a script I have downloaded from my server. They are many years old and it appears that PSPad is having issues getting their dimensions which is why they don't appear in the image tag and possibly why you get the "". Every image viewer I have tried opens them without problem.

--
Carbonize

Options: Reply | Quote | Up ^


#13 Re: Files with long lines are hard to handle

Posted by: pspad | Date: 2015-02-07 11:28 | IP: IP Logged

Hello
it will be some combinations of parameters.
For me it puts:
title="name" border="0" height="174" width="174">

Can you look into program settings / Direct edit for values of following variables?
DragImgAlt=1
DragImgTitle=1
DragImgBorder=1

You can switch on/off insert of tag elements

Options: Reply | Quote | Up ^


#14 Re: Files with long lines are hard to handle

Posted by: pspad | Date: 2015-02-07 11:35 | IP: IP Logged

Check please if you have there:
DragImgBorder=0
ensure there isn't something like:
DragImgBorder=0"

Options: Reply | Quote | Up ^


#15 Re: Files with long lines are hard to handle

Posted by: pspad | Date: 2015-02-07 11:41 | IP: IP Logged

Problem is found.
It is caused by some gifs what PSpad can't load correctly. It causes PSpad sin't able to read gif sizes and result is doubled " (missing size elements).

Options: Reply | Quote | Up ^


#16 Re: Files with long lines are hard to handle

Posted by: pspad | Date: 2015-02-07 12:38 | IP: IP Logged

I fixed problem with unsupported image format - doubled "
I found and fixed problem with GIF, it is supported now.

Options: Reply | Quote | Up ^


#17 Re: Files with long lines are hard to handle

Posted by: Andreas | Date: 2015-02-09 20:00 | IP: IP Logged

Jan, you can remove the DragImgBorder=0|1 option if you like to. It's obsolete and not in use in modern HTML anymore.
www.w3.org

ALT is mandatory even if its value is empty. The TITLE is optional.

Options: Reply | Quote | Up ^


#18 Re: Files with long lines are hard to handle

Posted by: pspad | Date: 2015-02-09 20:13 | IP: IP Logged

Thank you Andresas. As I understand, obsolete is Border=0 only. I can modify it when border will be equal zero, I won't include it.

Options: Reply | Quote | Up ^


#19 Re: Files with long lines are hard to handle

Posted by: Andreas | Date: 2015-02-09 20:58 | IP: IP Logged

Yes only BORDER is obsolete. HTML elements now should get styled only by CSS.

Sorry, also border="1" is obsolete, there shouldn't be a BORDER attribute at all.

Edited 1 time(s). Last edit at 2015-02-09 20:59 by Andreas.

Options: Reply | Quote | Up ^


Goto Page: Previous1 2





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR