Pull images from a directory for an array.

1
2
<?php
$issue = $_GET['issue'];
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I use this to pull a series of images from a directory to form an array of images and links.
I'm using the $icon to use either a custom icon for the mobile touch icons, and if that icon is missing from the icon directory it will pull a default image url.

See it in action here: https://pulplibrary.com/

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.