Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visio Shape Data Options Use IE. Chrome Not Collecting Png.

Solved1.47K views10th July 2023shape options shapes UI Unit-X Visio
1
David Pernes [SLC]90 28th September 2020 3 Comments

We’ve just fixed an issue on a visio by using the UseIE option on the shape data.

We upgraded DMA to 10.0.10 and we detected that a URL was not reading properly when using chrome, but when using IE it was fine.

Here is a snapshot:

It seems like something simple for chrome to do but it wasn’t capable of collecting the png whereas IE was capable.

Any idea why by using chrome we are not capable of collecting the png?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 10th July 2023
Wim Bruynooghe [SLC] [DevOps Advocate] commented 28th September 2020

There’s a mistake in the javascript of your display_image.html file: on line 34 it should be document.createElement(“img”) (and not “image”).

David Pernes [SLC] commented 28th September 2020

The Content Type returned is the same for both browsers.

IE and Chrome has http reply get the header: Content-Type: text/html

My guess is that it might be related with a function that gets returned from server http reply.

here is the code:
function getQueryVariable(variable)
{
var query = window.location.search.substring(1);
var vars = query.split(“&”);
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return(false);
}
var img = document.createElement("image");
img.src = getQueryVariable("img");

document.documentElement.style.overflow = 'hidden'; // firefox, chrome
document.body.scroll = "no"; // ie only
document.body.appendChild(img);

i see a blank tag in the HTML.

From IE Network capture i see 3 Gets getting sent and replied.
The 2nd http reply provides a ContentType image/png

From Chrome i only see up to a 2nd http reply that has content type application/javascript provinding an empty script.

David Pernes [SLC] commented 28th September 2020

Fixed by swapping “image” to “img” on document.createElement(“image”);

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Pedro Almeida [SLC]296 Posted 29th October 2020 0 Comments

Writing the comment as an answer:

"Fixed by swapping “image” to “img” on document.createElement(“image”);"

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 10th July 2023
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin