Thumbnails for use on external domain.
-
Hello,
I’m trying to pull the URL for the cached versions of the post thumbnails for use on a site that operates on a different domain.
WordPress is fully functional running properly at https://www.domain1.com/blog/
The images are stored at https://www.domain1.com/blog/wp-content/gallery/cache/I want to display them on the homepage of https://www.domain2.com with post title and have it link to the WordPress post on domain1.
On domain2 I already have a test page that is grabbing titles, links and thumbnail numeric ID.
Anyone have a way to convert the thumbnail Numeric ID to the cache file that is being used?
A sample sized cache image filename is https://www.domain1.com/blog/wp-content/gallery/cache/972_crop_122x88_d77p0118.jpg
- The topic ‘Thumbnails for use on external domain.’ is closed to new replies.