get a specific thumbnail
Permalink
I'm trying to print a specific thumbnail but I'm failing miserably. If someone could shed some light on this topic it would be great.
I added a thumbnail type via the Dashboard (dashboard/system/files/thumbnails) and rescanned my images. Inspecting them, I can see that the new thumbnails are created as intended.
Now, I want to print that specific thumbnail type in my theme. I tried all sorts of methods I could find around and the closest I got was with this:
But, that only gets me the width of the thumbnail, the src is still the original.
How can I use the above code (or similar) but end up with the URL to the created thumbnail "tiny" instead of the original image?
Thank you
I added a thumbnail type via the Dashboard (dashboard/system/files/thumbnails) and rescanned my images. Inspecting them, I can see that the new thumbnails are created as intended.
Now, I want to print that specific thumbnail type in my theme. I tried all sorts of methods I could find around and the closest I got was with this:
But, that only gets me the width of the thumbnail, the src is still the original.
How can I use the above code (or similar) but end up with the URL to the created thumbnail "tiny" instead of the original image?
Thank you
Is there a way to delete posts?