->orderBy('photosets.sortorder', 'asc')
->get();
$photoset = Photoset::where('venue_id', '=', $venue->id)
->where('slug', '=', $photoset_slug)
->first();
$photos = $photoset->images()
->orderBy('sortorder', 'asc')
->get();
| Key | Value |
| PATH | /usr/local/bin:/usr/bin:/bin |
| REDIRECT_HANDLER | php56-cgi |
| REDIRECT_STATUS | 200 |
| UNIQUE_ID | XXLnKsnbLoW7BTAHoOriTAAAAAQ |
| HTTP_AUTHORIZATION | |
| PHP_INI_SCAN_DIR | /home/johnnycho/webapps/btglatest_public |
| SCRIPT_URL | /palacetheatre/gallery/lobby |
| SCRIPT_URI | http://palacedowntown.com/palacetheatre/gallery/lobby |
| HTTPS | off |
| HTTP_HOST | palacedowntown.com |
| HTTP_X_FORWARDED_HOST | palacedowntown.com |
| HTTP_X_FORWARDED_SERVER | palacedowntown.com |
| HTTP_X_FORWARDED_FOR | 207.241.231.150 |
| HTTP_FORWARDED_REQUEST_URI | /palacetheatre/gallery/lobby |
| HTTP_HTTPS | off |
| HTTP_X_FORWARDED_PROTO | http |
| HTTP_X_FORWARDED_SSL | off |
| HTTP_CONNECTION | close |
| HTTP_REFERER | http://palacedowntown.com/venue-areas |
| HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; archive.org_bot +td> |
| SERVER_SIGNATURE | |
| SERVER_SOFTWARE | Apache |
| SERVER_NAME | palacedowntown.com |
| SERVER_ADDR | 127.0.0.1 |
| SERVER_PORT | 80 |
| REMOTE_ADDR | 207.241.231.150 |
| DOCUMENT_ROOT | /home/johnnycho/webapps/btglatest_public |
| REQUEST_SCHEME | http |
| CONTEXT_PREFIX | /cgi-bin/php56.cgi |
| CONTEXT_DOCUMENT_ROOT | /home/php-cgi/php56.cgi |
| SERVER_ADMIN | [no address given] |
| SCRIPT_FILENAME | /home/johnnycho/webapps/btglatest_public/index.php |
| REMOTE_PORT | 54112 |
| REDIRECT_URL | /index.php |
| GATEWAY_INTERFACE | CGI/1.1 |
| SERVER_PROTOCOL | HTTP/1.0 |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| REQUEST_URI | /palacetheatre/gallery/lobby |
| SCRIPT_NAME | /index.php |
| ORIG_SCRIPT_FILENAME | /home/php-cgi/php56.cgi |
| ORIG_PATH_INFO | /index.php |
| ORIG_PATH_TRANSLATED | /home/johnnycho/webapps/btglatest_public/index.php |
| ORIG_SCRIPT_NAME | /cgi-bin/php56.cgi |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1567811370.4221 |
| REQUEST_TIME | 1567811370 |
| argv | Array ( ) |
| argc | 0 |
| Key | Value |
| PATH | /usr/local/bin:/usr/bin:/bin |
| REDIRECT_HANDLER | php56-cgi |
| REDIRECT_STATUS | 200 |
| UNIQUE_ID | XXLnKsnbLoW7BTAHoOriTAAAAAQ |
| HTTP_AUTHORIZATION | |
| PHP_INI_SCAN_DIR | /home/johnnycho/webapps/btglatest_public |
| SCRIPT_URL | /palacetheatre/gallery/lobby |
| SCRIPT_URI | http://palacedowntown.com/palacetheatre/gallery/lobby |
| HTTPS | off |
| HTTP_HOST | palacedowntown.com |
| HTTP_X_FORWARDED_HOST | palacedowntown.com |
| HTTP_X_FORWARDED_SERVER | palacedowntown.com |
| HTTP_X_FORWARDED_FOR | 207.241.231.150 |
| HTTP_FORWARDED_REQUEST_URI | /palacetheatre/gallery/lobby |
| HTTP_HTTPS | off |
| HTTP_X_FORWARDED_PROTO | http |
| HTTP_X_FORWARDED_SSL | off |
| HTTP_CONNECTION | close |
| HTTP_REFERER | http://palacedowntown.com/venue-areas |
| HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; archive.org_bot +td> |
| SERVER_SIGNATURE | |
| SERVER_SOFTWARE | Apache |
| SERVER_NAME | palacedowntown.com |
| SERVER_ADDR | 127.0.0.1 |
| SERVER_PORT | 80 |
| REMOTE_ADDR | 207.241.231.150 |
| DOCUMENT_ROOT | /home/johnnycho/webapps/btglatest_public |
| REQUEST_SCHEME | http |
| CONTEXT_PREFIX | /cgi-bin/php56.cgi |
| CONTEXT_DOCUMENT_ROOT | /home/php-cgi/php56.cgi |
| SERVER_ADMIN | [no address given] |
| SCRIPT_FILENAME | /home/johnnycho/webapps/btglatest_public/index.php |
| REMOTE_PORT | 54112 |
| REDIRECT_URL | /index.php |
| GATEWAY_INTERFACE | CGI/1.1 |
| SERVER_PROTOCOL | HTTP/1.0 |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| REQUEST_URI | /palacetheatre/gallery/lobby |
| SCRIPT_NAME | /index.php |
| ORIG_SCRIPT_FILENAME | /home/php-cgi/php56.cgi |
| ORIG_PATH_INFO | /index.php |
| ORIG_PATH_TRANSLATED | /home/johnnycho/webapps/btglatest_public/index.php |
| ORIG_SCRIPT_NAME | /cgi-bin/php56.cgi |