@@ -11,13 +11,13 @@ const Template = (args) => <BetterImage {...args} />;
1111
1212const validSource = ( ) => ( {
1313 source : {
14- uri : `https://pyt-images.imgix.net/images/app/pretrip/australia.png?h=346.5 &w=252&crop=fit&dpr=3&auto=format,compress,enhance&q=10 &bust=${ Math . random ( ) } ` ,
14+ uri : `https://unsplash.com/photos/yNvVnPcurD8/download?force=true &w=2400 &bust=${ Math . random ( ) } ` ,
1515 } ,
1616 thumbnailSource : {
17- uri : `https://pyt-images.imgix.net/images/app/pretrip/australia.png?h=346.5 &w=252&crop=fit&dpr=0.1&auto=format,compress,enhance&q=10 &bust=${ Math . random ( ) } ` ,
17+ uri : `https://unsplash.com/photos/yNvVnPcurD8/download?force=true &w=24 &bust=${ Math . random ( ) } ` ,
1818 } ,
1919 fallbackSource : {
20- uri : `https://pyt-images.imgix.net/images/place-holder .png?bust=${ Math . random ( ) } ` ,
20+ uri : `https://unsplash.com/a/img/empty-states/photos .png?bust=${ Math . random ( ) } ` ,
2121 } ,
2222} ) ;
2323export const ValidImage = Template . bind ( { } ) ;
@@ -29,13 +29,13 @@ ValidImage.args = {
2929
3030const inValidSource = ( ) => ( {
3131 source : {
32- uri : `https://pyt-images.imgix.net/images/app/pretrip/nowheretobefound.png?h=346.5 &w=252&crop=fit&dpr=0.3&auto=format,compress,enhance&q=10 &bust=${ Math . random ( ) } ` ,
32+ uri : `https://unsplash.com/photos/2347729843y7/download?force=true &w=2400 &bust=${ Math . random ( ) } ` ,
3333 } ,
3434 thumbnailSource : {
35- uri : `https://pyt-images.imgix.net/images/app/pretrip/nowheretobefound.png?h=346.5 &w=252&crop=fit&dpr=0.1&auto=format,compress,enhance&q=10 &bust=${ Math . random ( ) } ` ,
35+ uri : `https://unsplash.com/photos/2347729843y7/download?force=true &w=24 &bust=${ Math . random ( ) } ` ,
3636 } ,
3737 fallbackSource : {
38- uri : `https://pyt-images.imgix.net/images/place-holder .png?bust=${ Math . random ( ) } ` ,
38+ uri : `https://unsplash.com/a/img/empty-states/photos .png?bust=${ Math . random ( ) } ` ,
3939 } ,
4040} ) ;
4141
@@ -48,13 +48,13 @@ InvalidImage.args = {
4848
4949const invalidImageOnlySource = ( ) => ( {
5050 source : {
51- uri : `https://pyt-images.imgix.net/images/app/pretrip/nowheretobefound.png?h=346.5 &w=252&crop=fit&dpr=0.3&auto=format,compress,enhance&q=10 &bust=${ Math . random ( ) } ` ,
51+ uri : `https://unsplash.com/photos/2347729843y7/download?force=true &w=2400 &bust=${ Math . random ( ) } ` ,
5252 } ,
5353 thumbnailSource : {
54- uri : `https://pyt-images.imgix.net/images/app/pretrip/australia.png?h=346.5 &w=252&crop=fit&dpr=0.1&auto=format,compress,enhance&q=10 &bust=${ Math . random ( ) } ` ,
54+ uri : `https://unsplash.com/photos/yNvVnPcurD8/download?force=true &w=24 &bust=${ Math . random ( ) } ` ,
5555 } ,
5656 fallbackSource : {
57- uri : `https://pyt-images.imgix.net/images/place-holder .png?bust=${ Math . random ( ) } ` ,
57+ uri : `https://unsplash.com/a/img/empty-states/photos .png?bust=${ Math . random ( ) } ` ,
5858 } ,
5959} ) ;
6060export const InvalidImageButWithValidThumbnail = Template . bind ( { } ) ;
0 commit comments