Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1 2  Previous   Next
HTML Window and images.
Author Message
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
I recently installed DVD Profiler 4.0 Build 1762 under Windows 11 Home.  Prior I had only run DVD Profiler under Windows 7 Professional 64-bit.  That being said, everything is working great with one exception.  For the "Overview" section of my profiles I use a HTML Window, my TV series profiles including numerous images which are stored online, not locally.  Below is a recent example, my online profile for the TV series, "Landman".


(Click on the image above to view my online profile for this title.)

The images populate without issue when viewing the profile via my phpDVDProfiler based website per the above.  The images also populate without issue when viewing the profile via the DVD Profiler mobile app which I sync directly with DVD Profiler for PC.  Within DVD Profiler for PC however all the image links are broken.  Accessing the properties of the HTML Window (file:///C:/Users/ASUS/AppData/Local/DVD%20Profiler/Temp/Design/3B878279A04DC47D60932CB294D96259/index.html) the temp HTML page populates the images without issue as well via my web browser.  See below.


(Click on the preview image above to view the full size image.)

So what gives?  Any thoughts?  I'm logged in to Windows 11 with local admin rights.  I have Full Control over the folder where DVD Profiler is installed, the executable set to run as an administrator.  I turned off Windows Firewall for good measure and still no dice.  None of the image links populate within DVD Profiler for PC.  They're all broken.  No issues with my Windows 7 build.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,516
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
DVD Profiler does not usually store images for HTML windows in AppData. Do you have a mismatch in expected default folders somewhere? (shooting in the dark here)
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting mediadogg:
Quote:
DVD Profiler does not usually store images for HTML windows in AppData. Do you have a mismatch in expected default folders somewhere? (shooting in the dark here)

Thanks for chiming in.  I'll take a look at that.  All my images are stored online.  DVD Profiler does cache the images for a given profile's HTML window locally once viewed for the first time.  Not sure where that folder location is though.  Well, at present all I get are broken image links.  Perhaps that's the issue.  Perhaps DVD Profiler for PC is failing to cache the images locally, hence they aren't being displayed within the HTML window.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
DVD Profiler Unlimited RegistrantStar Contributorrdodolak
Registered: March 18, 2007
Reputation: Superior Rating
United States Posts: 1,692
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
So that's the path to the html file being used by DVD Profiler, but what is the path for the images within the html file? Are the images actually in the file location the html file is specifying?
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting rdodolak:
Quote:
So that's the path to the html file being used by DVD Profiler, but what is the path for the images within the html file? Are the images actually in the file location the html file is specifying?

Any images that populate within the HTML window for a given profile are cached.  The cached images are then displayed going forward short of performing a right click and selecting the refresh option.  That being said, the images aren't cached in that temp folder.  Not sure where they're cached.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,516
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Oh, I just remembered, I have code for HTML windows in HTTPJolie. Let me take a look.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,516
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Here are my notes from the HTTPJolie Command Reference. These notes are for the "HTML" command, which retrieves the contents of an HTML window. Notice my comment about this working for windows that have been displayed at least once. That may be your problem. The cache in AppData is not built until the window has been displayed one or more times. I hope this helps.

Quote:

Note:
HTML sections are cached in the user's AppData folder when they have been displayed at least once . The
"list" option displays a list of the cached html files found in the c:\users\username\appdata\dvd
profiler\temp\design folder. There are several folders under that folder with some kind of hashed name that
coresponds to the HTML section. This auther has not been able to decode the hash. Each folder has a file
named "index.html" which is the fully rendered HTML section with all DPVARs resolved. When "cached1",
"cached2", ... is suppled as the view parameter, HTMLJoile reads the index.html corresponding to the list
index, converts all local images to encoded byte strings, and responds to the GET request with the HTML
contents. The calling browser or program then processes the contents as desired (such as simply
displaying it.)


I think HTTPJolie has code that forces the HTML window to appear, but I'm not sure and I don't feel up to reading my old code unless this hint isn't enough - I will gladly do it for you.

By the way, I'm guessing that the hash codes do not survive across sessions. That might be why the links are broken. My code scans for "index.html" to retrieve the list of HTML windows.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantStar Contributorrdodolak
Registered: March 18, 2007
Reputation: Superior Rating
United States Posts: 1,692
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Lowpro:
Quote:
Quoting rdodolak:
Quote:
So that's the path to the html file being used by DVD Profiler, but what is the path for the images within the html file? Are the images actually in the file location the html file is specifying?

Any images that populate within the HTML window for a given profile are cached.  The cached images are then displayed going forward short of performing a right click and selecting the refresh option.  That being said, the images aren't cached in that temp folder.  Not sure where they're cached.


When you installed Win11 was it a fresh install or an upgrade, and was it a new or old computer? It sounds like the cache is no longer there. If you open the html file in a text editor what is the file path for the images that aren't showing. Then you can verify if the images are actually cached in the location specified.
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
This is an older laptop (Asus ROG Strix GL702VM) with a fresh install of Windows 11 Home which I've since upgraded to Windows 11 Pro 24H2. Also, the HTML file in the temp folder is a mirror image of the "Overview (HTML Window)" that's currently being displayed, i.e. all img tags are pointing to JPG's stored on my website, "https://www.lowpro.net".

The HTML file in the temp folder displays the images without issue when viewed using any of the browsers I have installed.  No issues with my phpDVDProfiler based website as well which contains the same HTML for a given "Overview" section.  DVD Profiler for iOS also displays the images within a given HTML window without issue.  It's only DVD Profiler for PC that's displaying broken img links instead.  This includes the "Preview" tab accessible via "View\HTML Windows\Edit".  Nothing but broken img links there as well.

Not sure what goes on behind the scenes with DVD Profiler for PC, but it's clear the application is caching any images that populate within the HTML windows just as a conventional browser would, those images then being used going forward short of performing a right click within the given HTML window and hitting up the refresh option.  On the Windows 7 laptop I'm migrating over from the images come down and populate for a given HTML window without issue, said images continuing to be displayed over multiple sessions of the application and Windows whether I have access to the Internet or not.

This evening when I get home from work I'll have time to take a look at this again.  I appreciate the feedback provided.  Hopefully I can get this figured out.  Hopefully the root cause once found can be addressed.  We'll see I suppose.  Worse case scenario I'll have broken img links within DVD Profiler for PC.  At least the img links populate without issue using DVD Profiler for iOS and my phpDVDProfiler based website.  Those are the primary methods I use to actually browse my DVD's and Blu-ray's.  I only use DVD Profiler for PC to edit existing profiles and or create/delete profiles prior to syncing locally with DVD Profiler for iOS or exporting a XML to update phpDVDProfiler.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,516
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
I have a feeling that this is one of those where we are all gonna go "D'oh" when you figure it out! 
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,516
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting Lowpro:
Quote:
...  XML to update phpDVDProfiler.

Have I ever asked you about a plugin to do that from a Profiler menu? It has been a thought for years. I do have a "plugin for non non-plugin writers" if you have an interest in doing that for fun. All the plugin scaffolding is done for you. You write your own code in C# to do the work. Maintenance is simply updating your dll in the host plugin folder.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
I took a fresh look at this just now and discovered that the issue can only be replicated when attempting to display images from my web space!  Example provided below for "Landman: Season One".

Below is the HTML (minus the <> at each end) used to display the thumbnail (400x225) for Episode 1.  In DVD Profiler for PC a broken image link is shown within the HTML Window used for the "Overview" section.

img src="https://www.lowpro.net/phpdvdprofiler/bd/overview/191329277447/s1e01.jpg

The original image (1920x1080) was obtained from Amazon Prime so I figured why not.  Let's try hotlinking to the image instead resizing accordingly.

img src="https://images-na.ssl-images-amazon.com/images/S/pv-target-images/0146f47b3c5a07c9ca51a483ef9d8c43d09a2270ebb7544a6fae34cff5721248.jpg" width="400" height="225"

Well look at that.  DVD Profiler for PC displays the image without issue.  Rinse and repeat for all 10 episodes.  No issues.  I then tried random images from various websites including this one.  Again, no issues.

So it appears the issue here is limited to images residing on my secure web space, i.e. "https://www.lowpro.net", the file permissions having been reset for good measure since encountering this issue.  Sadly that hasn't helped.  And again, no issues with DVD Profiler for iOS or a conventional web browser.  I also added my website as a Trusted Site to IE.

Any thoughts?  I'm at a loss as to what to try next.  Well, short of finding a different provider to host my website.  At least I've narrowed down the scope of the issue.  That's something I guess.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
DVD Profiler Unlimited RegistrantStar Contributorrdodolak
Registered: March 18, 2007
Reputation: Superior Rating
United States Posts: 1,692
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Does your laptop need to access a certain port on your website?

I tried accessing that URL from a web browser and it worked fine. I then created a test HTML window, added that image URL, and received the same issue that you are experiencing.
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting rdodolak:
Quote:
Does your laptop need to access a certain port on your website?
I tried accessing that URL from a web browser and it worked fine. I then created a test HTML window, added that image URL, and received the same issue that you are experiencing.

No specific port needed.  And whoa, you're able to replicate the issue as well.



What is it about my website that DVD Profiler for PC doesn't like? 
My DVD/Blu-ray Collection
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,516
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Lowpro:
Quote:
I took a fresh look at this just now and discovered that the issue can only be replicated when attempting to display images from my web space!  Example provided below for "Landman: Season One".

Below is the HTML (minus the <> at each end) used to display the thumbnail (400x225) for Episode 1.  In DVD Profiler for PC a broken image link is shown within the HTML Window used for the "Overview" section.

img src="https://www.lowpro.net/phpdvdprofiler/bd/overview/191329277447/s1e01.jpg

The original image (1920x1080) was obtained from Amazon Prime so I figured why not.  Let's try hotlinking to the image instead resizing accordingly.

img src="https://images-na.ssl-images-amazon.com/images/S/pv-target-images/0146f47b3c5a07c9ca51a483ef9d8c43d09a2270ebb7544a6fae34cff5721248.jpg" width="400" height="225"

Well look at that.  DVD Profiler for PC displays the image without issue.  Rinse and repeat for all 10 episodes.  No issues.  I then tried random images from various websites including this one.  Again, no issues.

So it appears the issue here is limited to images residing on my secure web space, i.e. "https://www.lowpro.net", the file permissions having been reset for good measure since encountering this issue.  Sadly that hasn't helped.  And again, no issues with DVD Profiler for iOS or a conventional web browser.  I also added my website as a Trusted Site to IE.

Any thoughts?  I'm at a loss as to what to try next.  Well, short of finding a different provider to host my website.  At least I've narrowed down the scope of the issue.  That's something I guess.

Wait, I thought you were using HTML windows where the images are cached in AppData. Seems you have switched horses on me. When rendering images from PHP, you will get them from your web space, but if you are processing HTML pages, the images will be coming from the AppData cache. BUt I don't know how your web site interacts with Profiler HTML windows.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 310
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting mediadogg:
Quote:
Quoting Lowpro:
Quote:
I took a fresh look at this just now and discovered that the issue can only be replicated when attempting to display images from my web space!  Example provided below for "Landman: Season One".

Below is the HTML (minus the <> at each end) used to display the thumbnail (400x225) for Episode 1.  In DVD Profiler for PC a broken image link is shown within the HTML Window used for the "Overview" section.

img src="https://www.lowpro.net/phpdvdprofiler/bd/overview/191329277447/s1e01.jpg

The original image (1920x1080) was obtained from Amazon Prime so I figured why not.  Let's try hotlinking to the image instead resizing accordingly.

img src="https://images-na.ssl-images-amazon.com/images/S/pv-target-images/0146f47b3c5a07c9ca51a483ef9d8c43d09a2270ebb7544a6fae34cff5721248.jpg" width="400" height="225"

Well look at that.  DVD Profiler for PC displays the image without issue.  Rinse and repeat for all 10 episodes.  No issues.  I then tried random images from various websites including this one.  Again, no issues.

So it appears the issue here is limited to images residing on my secure web space, i.e. "https://www.lowpro.net", the file permissions having been reset for good measure since encountering this issue.  Sadly that hasn't helped.  And again, no issues with DVD Profiler for iOS or a conventional web browser.  I also added my website as a Trusted Site to IE.

Any thoughts?  I'm at a loss as to what to try next.  Well, short of finding a different provider to host my website.  At least I've narrowed down the scope of the issue.  That's something I guess.

Wait, I thought you were using HTML windows where the images are cached in AppData. Seems you have switched horses on me. When rendering images from PHP, you will get them from your web space, but if you are processing HTML pages, the images will be coming from the AppData cache. BUt I don't know how your web site interacts with Profiler HTML windows.

The images only reside on my web space.  DVD Profiler for PC, DVD Profiler for iOS and my phpDVDProfiler based website access the images in the same fashion, i.e. using the HTML img tag.  In the case of DVD Profiler for PC any images downloaded and displayed are cached (similar to a conventional browser) as the application doesn't attempt to download them again unless I perform a refresh of the given HTML window.  That being said, I have no idea where the application caches those images.  At present it's failing to populate any of the images.  For some reason it doesn't like, "https://www.lowpro.net".  No issues with DVD Profiler for iOS and no issues when using a conventional web browser.  Very odd.  Based on the Help file for DVD Profiler for PC it appears to rely on the particular version of Internet Explorer installed for certain things.  See below.

Editing/Creating HTML Sections - HTML Sections Tab
"DVD Profiler's HTML Section editor is an interactive designer which lets you lay out the look and contents of the HTML Windows for the loaded layout.  DVD Profiler HTML Sections can contain standard HTML/DHTML, JScript, and other elements.  The specific element and attribute support is determined by the installed version of Internet Explorer.

I did add my website to IE's Trusted Sites list.  Sadly that didn't help.  I also added exceptions to Windows Firewall per ensuring DVD Profiler for PC was able to send/receive over the network and Internet.  No issues accessing Invelos.com.  No issues performing a local sync with DVD Profiler for iOS.  I also took a careful look over my network and router adding the local IP that runs DVD Profiler for PC to the DMZ for good measure.  No dice.  Took down all the guardrails temporarily as well from Windows 11 to my router.  Again, no dice.  Considering DVD Profiler for iOS and my phpDVDProfiler based website have no issues I wasn't expecting any of those steps to bear fruit.  Guess I'll keep at it.  Either that or I'll just go back to my 15 year old laptop running Windows 7.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1 2  Previous   Next