Wordpress: Pull image with dynamic size & crop

1
2
<?php
/**
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Wordpress: Pull any image file and get it's thumbnail in any size/crop dynamically without the need for add_image_size()

2 Responses

If you'll not update attachment details after new image creation it will remain orphan and will not get deleted upon deleting parent image

Write a 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.