Support » Fixing WordPress » Sharing Images

  • Hi,

    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 75×75 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,

    –d

Viewing 1 replies (of 1 total)
  • 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?

    Thanks!

    –d

Viewing 1 replies (of 1 total)
  • The topic ‘Sharing Images’ is closed to new replies.