• I’m running into a cross domain problem because the background images of slides use absolute URLs with no possibility of using relative paths. I can’t seem to find an option anywhere to set the paths manually. Is there anything I can do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Unfortunately, the SA slide background images are not stored as a URL/Path within the database, but are stored as a Media Library ID. Which is then translated to a URL within the front-end function that displays the SA slider – using the following built-in WP function:
    $slide_image_src = wp_get_attachment_image_src($slide_data[“slide”.$i.”_image_id”], ‘full’);
    (line #193 within ‘slide-anything-frontend.php’)

    I’m not sure how one would replace this with something that generates a relative URL – anyone else with any ideas?

    Thread Starter coreyog

    (@coreyog)

    Not the best idea, but a text input that could override the image selection. That would also open up the idea for images not loaded to wordpress like maybe a company static file server.

    Plugin Author simonpedge

    (@simonpedge)

    Yes, that’s certainly an idea for a future version of Slide Anything.
    It’s jotted down.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Relative URLs’ is closed to new replies.