Get images from new /images/ path.
This commit is contained in:
parent
abfd04f340
commit
991b5a1469
2
react-debug/src/App.js
vendored
2
react-debug/src/App.js
vendored
@ -31,7 +31,7 @@ class Album extends React.Component {
|
||||
// TODO(wathiede): use coverPhotoMediaItemId and fetch from a
|
||||
// locally cached image.
|
||||
return <figure key={ mi.id } className="figure">
|
||||
<img src={ `/photosync/${album}/${mi.id}/${mi.filename}?thumb` } className="mr-3" alt={ mi.filename }/>
|
||||
<img height="256" width="256" src={ `/photosync/images/${mi.id}/${mi.filename}?thumb` } className="mr-3" alt={ mi.filename }/>
|
||||
<figcaption className="figure-caption">
|
||||
<a key={ mi.id } href={ mi.productUrl }>
|
||||
<p className="text-truncate">{ mi.filename}</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user