jtsternberg / DsgnWrks-Instagram-Importer

Backup your instagram photos & display your instagram archive. Supports importing to custom post-types & adding custom taxonomies.
http://wordpress.org/extend/plugins/dsgnwrks-instagram-importer/
33 stars 16 forks source link

can i ONLY show square image in wp-posts? (even if fullsize image is not square) #39

Closed beckmann73 closed 6 years ago

beckmann73 commented 7 years ago

can i ONLY show square image in wp-posts (even if fullsize image is not square)?

as i am using the imported images for a masonry grid it would be great if i could only use square images.

is there any way to tell the importer that i only want square image-sizes to use as insta-image ? (i have seen that the importer allready generates a 360x360px thumb after import even if the instagram-image was not square)

jtsternberg commented 7 years ago

You can use add_image_size() in your theme to create the specific sizes/crops you need, then use that in your theme output. It won't apply those crops to the already-imported images, so for those you'd have to use the Regenerate Thumbnails plugin.

The importer simply imports the full-size image, and it is up to you/your theme as to how those images are output.