[Plugin: Multiple Post Thumbnails] Image linking option
-
Would it be possible to add another option, or add to the attribute field what image size to use when you wrap thumbnails in an anchor? I have a client that doesn’t know how to size photos, and they are uploading large resolution photos, so when they click on the photo, it fills the entire screen.
Right now I substituted the full image for the large image using this code:
if ($link_to_original && $html) { //$html = sprintf('<a href="%s">%s</a>', wp_get_attachment_url($post_thumbnail_id), $html); $imager = wp_get_attachment_image_src($post_thumbnail_id, 'large'); $html = sprintf('<a href="%s">%s</a>', $imager[0], $html); }But if they update the plugin, I don’t want that to get erased. Maybe the option is already there?
Thanks!
The topic ‘[Plugin: Multiple Post Thumbnails] Image linking option’ is closed to new replies.