<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/</id><updated>2020-04-16T14:57:44.467000Z</updated><subtitle>Recent posts to How to update an image upon request ?</subtitle><entry><title>How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/?limit=25#9cae" rel="alternate"/><published>2020-04-16T14:57:44.467000Z</published><updated>2020-04-16T14:57:44.467000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com46d7c37f30438c192d0ce60e43c8feebf4935173</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="user-mention" href="/u/alrcastro/"&gt;@alrcastro&lt;/a&gt; why you want to do this? Why do you need a fully dynamic image and want to handle the updating of the file etc?&lt;/p&gt;
&lt;p&gt;The reason why this is not working is you expect is that the imagepool is more static than you think to improve performance.&lt;br/&gt;
Every image referenced in an imagepool and downloaded to the PLC will be added into a file e.g. application.imagepoolcollection.csv .&lt;br/&gt;
The visu will only send a unique identifier for the image to the visu client (webvisu or targetvisu) which then will be mapped to a specific file on the plc.&lt;br/&gt;
Then some caching happens to not always load the file.&lt;/p&gt;
&lt;p&gt;The feature "reload image when file changes" only applies to the IDE, but not to the PLC.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/?limit=25#37ae" rel="alternate"/><published>2020-04-16T14:53:16.102000Z</published><updated>2020-04-16T14:53:16.102000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0aaaee57f41ffcdc45a48e72ed1ec4c661a3f41b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
maybe i missunderstand your requirement:&lt;br/&gt;
think this works, if you change the image version property ( after you have changed the image in the /visu directory of the plc)&lt;br/&gt;
-&amp;gt; from release information on this issue:&lt;br/&gt;
The image element now has a bitmap version property. The image will be reloaded when this version changes.&lt;/p&gt;
&lt;p&gt;Download a project with an image element.&lt;br/&gt;
- Open Webvisu, Targetvisu or Remote Targetvisu.&lt;br/&gt;
- Replace the image on the PLC with a different image.&lt;br/&gt;
- The new image should be shown in the visu (if the image element version property is updated, see release note). &lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/?limit=25#72e9" rel="alternate"/><published>2020-04-16T14:40:14.398000Z</published><updated>2020-04-16T14:40:14.398000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.combf482e2d65bc3a0d7c9b796e3c76fad85a9e61de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@Marcel,&lt;br/&gt;
I wanted that the images were not static, but rarther updated dynamically, either upon request or automatically by the browser itself through the already existing resource "reload image when file changes".&lt;/p&gt;
&lt;p&gt;&lt;a class="user-mention" href="/u/kislov/"&gt;@kislov&lt;/a&gt;,&lt;br/&gt;
I made a careful analysis of the Log which didn't recorded any mention of handling the image, whether tagged as &lt;em&gt;Info&lt;/em&gt;, &lt;em&gt;Warn&lt;/em&gt; or &lt;em&gt;Error&lt;/em&gt;. I also tried to upload the updated images directly to the folder where Visu images are stored, and also did not work. BT, the jpeg image I am using opens on the browser where VISU is running, so the issue seems not related to the picture itself.&lt;/p&gt;
&lt;p&gt;I appreciate the kind help of yours, but I made the decision to give up, IMHO that shouldn't be any issue.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/?limit=25#0813" rel="alternate"/><published>2020-04-16T05:56:01.403000Z</published><updated>2020-04-16T05:56:01.403000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com7f57e01c1775319ba7035c0c1d7eb23475915df7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just do a download. Images will be automatically transferred (if e.g. the image is used as static bitmap id).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/?limit=25#7fb9" rel="alternate"/><published>2020-04-16T05:42:03.119000Z</published><updated>2020-04-16T05:42:03.119000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.com9a3e6271972b1d515902ce1db392bf26e325e65f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi. Check Device - Log.&lt;br/&gt;
Also if you upload your image, I can try it with my plc.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to update an image upon request ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4ed3d4c9a4/?limit=25#9cf5" rel="alternate"/><published>2020-04-15T19:05:07.784000Z</published><updated>2020-04-15T19:05:07.784000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.comfdf2b66df77f32233a633542811c3b985be36d10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I added a picture to the &lt;em&gt;ImagePool&lt;/em&gt; having the attribute "Embeeded and LinktoFile" and I added the picture to the VISU area the same way as I did ith a static image (which works fine). However, the linked picture don't even appear right after the runtime get started.&lt;/p&gt;
&lt;p&gt;The picture is on the same folder and has the same name, either at the Controller's side, as well at the Codesys IDE side.&lt;br/&gt;
None of them has space nor special characters.&lt;/p&gt;
&lt;p&gt;Is there any tutorial on this regard?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>