Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tonchik-tm committed Feb 13, 2020
1 parent 6dfc724 commit 0354020
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2017 tonchik™
Copyright (c) 2020 tonchik™

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ echo ImageThumb::thumbPicture(
);
```

In the output we will get something like this code:

```html
<picture data-cache="hit">
<source srcset="/assets/thumbnails/example.png.webp" type="image/webp" />
<img src="/assets/thumbnails/example.png" />
</picture>
```

For other functions please see the source code.

The package is in the process of developing

0 comments on commit 0354020

Please sign in to comment.