Skip to content

Commit

Permalink
replace references to images hosted on "thewebhatesme.com" with local…
Browse files Browse the repository at this point in the history
… images in template files (#46)
  • Loading branch information
spaceman-cb authored and DavertMik committed Oct 6, 2018
1 parent 1d16744 commit 00f69f3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added module/report/img/visualception.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion module/report/templToJpg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<img src="http://www.thewebhatesme.com/wp-content/uploads/visualception.png" />
<img src='data:image/png;base64,<?php echo base64_encode(file_get_contents(__DIR__.'/img/visualception.png')); ?>' />

<?php
function convertPNGtoJPEG($fileNameIn) {
Expand Down
2 changes: 1 addition & 1 deletion module/report/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<img src="http://www.thewebhatesme.com/wp-content/uploads/visualception.png" />
<img src='data:image/png;base64,<?php echo base64_encode(file_get_contents(__DIR__.'/img/visualception.png')); ?>' />

<?php foreach ($failedTests as $name => $failedTest): ?>

Expand Down
2 changes: 1 addition & 1 deletion module/report/template2.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<img src="http://www.thewebhatesme.com/wp-content/uploads/visualception.png" />
<img src='data:image/png;base64,<?php echo base64_encode(file_get_contents(__DIR__.'/img/visualception.png')); ?>' />

<?php foreach ($failedTests as $name => $failedTest): ?>

Expand Down

0 comments on commit 00f69f3

Please sign in to comment.