Sharing Images (2 posts)

  1. whatadewitt
    Posted 5 years ago #


    I have a couple wordpress installs running on my server. One install is running a sports league website, while another is running one of the league's teams websites.

    I want to be able to share some images across the site, but what I like is that on the league site, I have the images being resized and so when I want to display an image at 75x75 it's very easy, but I also want to display the same image on my team site...

    Is this at all possible to do? The code I am currently using is

    wp_get_attachment_image_src(get_attachment_id_from_src($result->home_logo), 'team-logo')

    Where result->home_logo would be my image name, and using team-logo is getting it at the proper size. Is there any way for me to share these images?

    Thank you,


  2. whatadewitt
    Posted 5 years ago #

    I've made SOME progress... I'm able to get the ID out of 1 database table, but I am using wp_get_attachment_image_src, which is pointing to the current database, where the image doesn't exist...

    Can anyone help me out?



Topic Closed

This topic has been closed to new replies.

About this Topic