wordpress - automatically create Greybox imageset from images attached to post

/ Published in: PHP
Save to your folder(s)

I pieced together this code when I had to do this for a client:
- show the first image attached to a post (based on sort order in gallery tab) in medium size
- put all the other images attached to the post into an imageset so that when you click on the preview image you will see a greybox-gallery to click through with the full size images.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.