Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
NOV Text Editor for .NET
»
Problem with image not showing up in html
Problem with image not showing up in html
Post Reply
Problem
with
image
not
showing
up
in
html
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Tom Galczynski
Tom Galczynski
posted 5 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 29,
Visits: 87
Hi
guys
.
I
am
having
trouble
with
image
s
that
I
paste
into
the
NOV
RichTextView
control
not
showing
up
when
saving
to
html
.
I
have
attached
3
files
to
illustrate
what
I
mean
.
nevronpictures
.
png
shows
the
image
s
as
they
appear
in
the
control
,
along
with
some
text
in
a
3
row
single
column
table
.
First
and
third
cells
have
an
image
,
second
cell
text
.
I
save
the
source
to
html
(
see
attached
file
picturetest
.
html
.
txt
).
The
html
output
seems
to
include
the
image
s
,
but
when
I
open
the
html
in
Chrome
,
the
image
s
do
not
appear
.
Please
see
attached
file
nevronchrome
.
png
to
show
what
I
see
in
Chrome
.
The
only
unusual
thing
we
are
doing
with
html
is
we
added
a
N
Html
SaveSettings
.
InLineStyles
=
True
to
correct
problems
we
had
with
CSS
in
our
html
email
s
and
Outlook
.
Is
there
anything
else
you
can
see
that
might
be
causing
this
issue
?
Appreciate
your
help
!
Thanks
,
Tom
G
.
Attachments
nevronpictures.png
(
526 views,
132.00 KB
)
nevronchrome.png
(
540 views,
17.00 KB
)
picturetest.html.txt
(
654 views,
137.00 KB
)
Reply
Like
0
Nevron Support
Nevron Support
posted 5 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi
Tom
,
Thank
you
for
sending
us
the
resulting
HTML
file
and
the
screenshots
.
The
image
s
in
the
HTML
file
are
exported
in
Nevron
Raster
Image
format
(
NRI
),
which
is
a
proprietary
Nevron
image
format
and
can
only
be
read
and
displayed
by
NOV
components
.
It
is
not
supported
by
the
web
browsers
and
that
'
s
why
you
don
'
t
see
the
image
s
in
any
of
them
.
Can
you
please
send
us
the
code
you
use
to
insert
the
image
s
into
the
rich
text
document
?
We
will
analyze
it
and
tell
you
how
to
fix
this
issue
.
Best Regards,
Nevron Support Team
Reply
Like
0
Tom Galczynski
Tom Galczynski
posted 5 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 87
The
user
cuts
and
pastes
the
image
s
directly
into
the
control
.&
nbsp
;
Then
we
es
sent
ially
SaveToStream
as
RTF
format
:
Public
Property
Stream
As
System
.
IO
.
MemoryStream
&
nbsp
; &
nbsp
;
Dim
richTextView
As
Nevron
.
Nov
.
Text
.
NRichTextView
=
Me
.
_currentView
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
If
richTextView
IsNot
Nothing
Then
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Dim
currentLayout
As
Nevron
.
Nov
.
Text
.
ENTextLayout
=
richTextView
.
Content
.
Layout
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Try
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
richTextView
.
Content
.
Layout
=
Me
.
_currentLayout
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Dim
MS
As
New
System
.
IO
.
MemoryStream
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
richTextView
.
100
;
ocument
.
Evaluate
()
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
If
Me
.
Format
=
DocumentFormats
.
Html
Then
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;'
Use
inline
styles
because
Outlook
doesn
'
t
handle
css
well
.
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Dim
saveSettings
As
New
Nevron
.
Nov
.
Text
.
Formats
.
Html
.
N
Html
SaveSettings
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
saveSettings
.
InlineStyles
=
True
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
richTextView
.
SaveToStream
(
MS
,
Me
.
DocumentFormat
,
saveSettings
)
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Else
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
richTextView
.
SaveToStream
(
MS
,
Me
.
DocumentFormat
)
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
End
If
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Return
MS
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
Finally
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
richTextView
.
Content
.
Layout
=
currentLayout
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
End
Try
&
nbsp
;&
nbsp
;&
nbsp
;&
nbsp
;
End
If
(
There
'
s
more
in
the
attached
txt
file
.)
Let
me
know
if
you
need
more
.
Thanks
!
Attachments
nev_codesnip.txt
(
539 views,
3.00 KB
)
Reply
Like
0
Tom Galczynski
Tom Galczynski
posted 5 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 87
Sorry
just
realized
in
my
previous
post
I
wrote
we
used
SaveToStream
in
RTF
format
.&
nbsp
;
I
meant
to
say
HTML
format
.
The
problem
is
with
image
s
in
HTML
format
.&
nbsp
;
Thanks
!
Reply
Like
0
Tom Galczynski
Tom Galczynski
posted 5 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 87
Hi
,
just
checking
if
there
has
been
any
progress
on
this
issue
?
Is
there
a
way
I
can
specify
the
image
format
to
use
on
a
SaveToStream
in
HTML
format
?&
nbsp
;
Thanks
!
Reply
Like
0
Nevron Support
Nevron Support
posted 5 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi
Tom
,
We
tried
to
reproduce
the
issue
with
the
latest
version
of
the
NOV
components
,
but
we
couldn
'
t
reproduce
it
.
All
image
s
inserted
through
copy
/
paste
were
exported
to
HTML
in
the
default
image
format
used
by
the
HTML
exporter
-
PNG
.
Can
you
please
tell
us
which
version
of
the
NOV
components
you
are
currently
using
?
It
would
be
great
if
you
also
send
us
a
rich
text
document
you
are
experiencing
the
issue
with
,
saved
to
the
Nevron
native
NTX
format
,
for
testing
.
Thank
you
!
Best Regards,
Nevron Support Team
Reply
Like
0
Tom Galczynski
Tom Galczynski
posted 5 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 87
I
was
using
2017
.
1
(
build
version
18
.
5
.
28
.
12
).&
nbsp
;
Tried
using
the
latest
(
2019
.
1
(
20
.
1
.
28
.
12
)
and
the
image
s
are
saved
to
html
as
PNG
and
Outlook
displays
them
correctly
.&
nbsp
;
Thanks
!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search