Thumbnail shortcode
-
Hello,
I see that this plugin regenerates thumbnails like this
1024 x proportional height
768 x proportional height
…and then adds to the image url
img_name-768xproportional_height.jpg
I want to create a page that dynamically fetches images, I have the filename, I can have the width (it is fixed of course), but I can’t know the height, so I can’t reference thumbnails with their URL.
Is there a way to do so with PHP? can’t find your docs anywhere..
For example get_img_thumbnail(‘small’,’img_original_filename’);
Thanks
- The topic ‘Thumbnail shortcode’ is closed to new replies.