how to upload image to server and paste url as the picture to rve?

General TRichView support forum. Please post your questions here
elGringo
Posts: 49
Joined: Thu Oct 08, 2015 7:01 pm

Re: how to upload image to server and paste url as the picture to rve?

Post by elGringo »

Ok, solved! Your helpful forum works!

Code: Select all

           ARVE.SetCurrentItemExtraIntProperty(rvepImageHeight,30,True);
           ARVE.SetCurrentItemExtraIntProperty(rvepImageWidth,30,True);

Sergey Tkachenko
Site Admin
Posts: 15364
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: how to upload image to server and paste url as the picture to rve?

Post by Sergey Tkachenko »

ARVE.SetCurrentItemExtraIntProperty(rvepImageWidth, ...);
ARVE.SetCurrentItemExtraIntProperty(rvepImageHeight, ...);

elGringo
Posts: 49
Joined: Thu Oct 08, 2015 7:01 pm

Re: how to upload image to server and paste url as the picture to rve?

Post by elGringo »

Hello, when i change width and height it is strange behaviour

-picture inserted with origin w,h
-resizes to new w,h
-disappears

if to click on rve - appears,

tried

Code: Select all

 
     CurrentRVE.SetFocus;
     CurrentRVE.FormatAll();
     CurrentRVE.Repaint();
     CurrentRVE.Refresh();
     CurrentRVE.Update;
     CurrentRVE.OnClick(Self);
     

elGringo
Posts: 49
Joined: Thu Oct 08, 2015 7:01 pm

Re: how to upload image to server and paste url as the picture to rve?

Post by elGringo »

Hello, when i change width and height it is strange behaviour

-picture inserted with origin w,h
-resizes to new w,h
-disappears

if to click on rve - appears,

tried

Code: Select all

 
     CurrentRVE.SetFocus;
     CurrentRVE.FormatAll();
     CurrentRVE.Repaint();
     CurrentRVE.Refresh();
     CurrentRVE.Update;
     CurrentRVE.OnClick(Self);
     

Sergey Tkachenko
Site Admin
Posts: 15364
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: how to upload image to server and paste url as the picture to rve?

Post by Sergey Tkachenko »

Please send me a simple project reproducing this problem (to email richviewgmailcom)

elGringo
Posts: 49
Joined: Thu Oct 08, 2015 7:01 pm

Re: how to upload image to server and paste url as the picture to rve?

Post by elGringo »

Ok, tested more, it happens with big pictures,
190 KB size,

if pic is 700 bytes or something like this it is Ok,

if to click on rve, picture appears

i will do a testCase

elGringo
Posts: 49
Joined: Thu Oct 08, 2015 7:01 pm

Re: how to upload image to server and paste url as the picture to rve?

Post by elGringo »

sent testCase

Sergey Tkachenko
Site Admin
Posts: 15364
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: how to upload image to server and paste url as the picture to rve?

Post by Sergey Tkachenko »

I confirm the problem, it happens when a horizontal scrollbar is hidden. I sent a fixed unit, it will be also included in the next update.


Post Reply