Skip to content

Commit c4b5832

Browse files
committed
changed image file path to local images
1 parent 24ebf7a commit c4b5832

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/games/childGameTemplate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>Game</h1>
88

99
{% block sidebar %}
1010
<div class="sidebar-images">
11-
<img src="https://cdn.cloudflare.steamstatic.com/steam/apps/107410/library_600x900.jpg?t=1568818863" alt="Game Poster">
11+
<img src="{{ url_for('static', filename='images/****.jpg') }}" alt="Game Poster">
1212
</div>
1313

1414
<div class="sidebar-buttons">

templates/games/cs2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>Counter Strike 2</h1>
88

99
{% block sidebar %}
1010
<div class="sidebar-images">
11-
<img src="/static/images/cs2.jpg" alt="Counter Strike 2 Poster">
11+
<img src="{{ url_for('static', filename='images/cs2.jpg') }}" alt="cs2 Poster">
1212
</div>
1313

1414
<div class="sidebar-buttons">

templates/games/fctr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>Factorio</h1>
88

99
{% block sidebar %}
1010
<div class="sidebar-images">
11-
<img src="static/images/fctr.jpg" alt="Factorio Poster">
11+
<img src="{{ url_for('static', filename='images/fctr.jpg') }}" alt="Factorio Poster">
1212
</div>
1313

1414
<div class="sidebar-buttons">

0 commit comments

Comments
 (0)