creating link to large/medium image while inserting in text
When I’, inserting image in text (inline through visual editor) there is text field for “Link URL” with three buttons (none, file url, post url).
I want to make a link to resized image (medium or large), because original is usualy to big.
I know, I cau use “Post Url”, but I need just image url, to show images in lightbox.
As I understand the code I think I need function similar to wp_get_attachment_thumb_url (wp_get_attachment_medium_url), but I lost myself while trying to make it.
thanks, for you help
- The topic ‘creating link to large/medium image while inserting in text’ is closed to new replies.