1. Go to this page and download the library: Download webdna/imageshop library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webdna / imageshop example snippets
php craft plugin/install imageshop-dam
bash
php craft up
bash
php craft migrate --plugin=imageshop-dam
bash
php craft migrate/all
graphql
{
en: entries(site: "english", section: "blog", limit: 1) {
... on blog_default_Entry {
heroImage { altText } # Returns English alt text
}
}
no: entries(site: "norwegian", section: "blog", limit: 1) {
... on blog_default_Entry {
heroImage { altText } # Returns Norwegian alt text
}
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.