INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Problem with <img src>  (Read 434 times)

SkGe

  • Galactic Citizen
  • ****
  • Posts: 424
Problem with <img src>
« on: May 26, 2020, 01:37:17 pm »

Hello. Can somebody explain to me, why when use <img src="> and try to modify to another image , the previous stay on but not the new one? I'm trying to find if JRiver made a temp folder where maybe store the information of that image, but I didn't have any chance to find it. What instead I'm doing, is to rename the file image to a separate name and then he refresh it, but if I use the previous name of that image, instead the new appear, it show the older one...
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Problem with <img src>
« Reply #1 on: May 26, 2020, 09:13:33 pm »

You would need to clarify exactly what you mean by when you use <img src=">, where you are using it, etc., because I don't understand.

But if you replace an image in MC with a new one, but use the same name, MC will continue to show a thumbnail of the old image. Most of the time MC is displaying a thumbnail it creates of an image, and not the image itself.

You need to replace the image with the new one, and then run the "Rebuild Thumbnail" function for the record you are looking at.

For example, if you have replaced the Cover Art image for an audio file with a better image of the same name, then right-click the file and select "Cover Art > Rebuild Thumbnail".

If that isn't what you are looking for, explain what you are trying to do a bit better.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

SkGe

  • Galactic Citizen
  • ****
  • Posts: 424
Re: Problem with <img src>
« Reply #2 on: May 27, 2020, 06:23:16 pm »

Sorry. I will try to explain a bit more in detail.
So when I use the img src() in a specific expression every time when I had to see, if that image has the correct size and it fits well in the expression, I had to rename several times, because first time when the JRiver read that file image, it stays the same till I will rename the file and change the data in the expression. I have a specific folder for where I store those images for those different expressions. But like I told up, I hit this problem with the image which the software doesn't update to a new image and stick with the first one (till I change the name). So looking around in some folders to see if, maybe the JRiver makes a thumbnail of that and not refresh it, to a newer one, but after I rename it.
Here some examples:
First expressions I called Test 1
Code: [Select]
if(isempty([waveform]), <img src="C:\Jiver\tooltip album artwork\wvempty.png">,IfElse(IsRange([drtrack], 0-5), <img src="C:\Jiver\tooltip album artwork\wavred.png">,
IsRange([drtrack], 6-10), <img src="C:\Jiver\tooltip album artwork\wvy.png" size="379x100">,
IsRange([drtrack], 11-19), <img src="C:\Jiver\tooltip album artwork\wavgreen.png">))
Second expression I called Test 2
Code: [Select]
if(isempty([waveform]), <img src="C:\Jiver\tooltip album artwork\wvempty.png">,IfElse(IsRange([drtrack], 0-5), <img src="C:\Jiver\tooltip album artwork\wavred.png">,
IsRange([drtrack], 6-10), <img src="C:\Jiver\tooltip album artwork\wvy1.png" size="379x100">,
IsRange([drtrack], 11-19), <img src="C:\Jiver\tooltip album artwork\wavgreen.png">))
And the image for the expressions are:

And on the folder those are the images:
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10772
Re: Problem with <img src>
« Reply #3 on: May 27, 2020, 06:36:55 pm »

Images inlined in text are cached in memory for performance reasons. If you change them, you can either wait until it fetches a new one, or restart MC.
Logged
~ nevcairiel
~ Author of LAV Filters

SkGe

  • Galactic Citizen
  • ****
  • Posts: 424
Re: Problem with <img src>
« Reply #4 on: May 27, 2020, 07:04:06 pm »

Understood. So it is not even possible to change to another method and affect the performance i presume?!. If so, I will try to work as it is.
Thanks.
Logged
Pages: [1]   Go Up