I want to include the medium sized image generated by scissors in a special “Featured Excerpt” section on my site. Is there an easy way to pull the filename/path to the medium sized image given the filename or title of the original?
I would just try appending the dimensions to the original file name in PHP (ex -200×200.jpg) but since images are being scaled, the dimensions are always different.
What I don’t want to do is search the filenames in the upload directory for the original name and then iterate to the second result which would hopefully be the medium sized file (thumbnail being the first result). Surely there is a less hacked way of doing this.
Any suggestions? Thanks in advance.
- The topic ‘[Plugin: Scissors] Pull diffferent image sizes’ is closed to new replies.