Slider Image URL

Viewing 7 posts - 1 through 7 (of 7 total)
  • #20282
    otherwhirl
    Participant

    Hi,
    The current URL location for the image in my slider is: http://mysite.com/hidden/mysite-6/40630/”

    I’d like to either mask the image location and/or use a custom URL like:
    http://mysite.com/blah-blah-blah/”

    How can I do this?

    Thanks

    #20286
    Daniel Tara
    Keymaster

    You can’t obfuscate a link that is publicly available when a page is loaded. What you can do is prevent hotlinking by only serving the image if the referrer comes from your site (try this plugin). That won’t prevent people from stealing your image by inspecting the source code though.

    #20292
    otherwhirl
    Participant

    Hi Daniel,

    The purpose wasn’t to stop others from stealing pics as much as it is having a better looking URL and to be able to redirect users to a different link location.

    Hopefully, this plugin will help me achieve this.

    Thanks

    #20351
    Daniel Tara
    Keymaster

    You can move the entire wp-uploads directory to a different path. You just need to specify it in Settings → Media under Full URL path to files. You’ll have to manually move the contents of the wp-uploads folder after changing this setting. This website uses that setting. If you take a look, all images are stored under https://www.onedesigns.com/media/. To do that we changed the setting of Store uploads in this folder to ../media and of Full URL path to files to https://www.onedesigns.com/media. Basically the Store uploads in this folder setting denotes the relative path and Full URL path to files the absolute path. The last setting was necessary to avoid paths like https://www.onedesigns.com/wp/../media (notice the wp/.. part that means to parse to the wp folder and then move one level up again).

    #20545
    otherwhirl
    Participant

    Hi I’m TOTALLY confused by your last reply to my question.

    Maybe I didn’t explain it as best I could.

    All I want to do is simply redirect users who click on the slider image to a specific URL of my choice, not the actual location of the image. Make sense?

    Thanks again!

    • This reply was modified 9 years, 10 months ago by otherwhirl.
    #20556
    Daniel Tara
    Keymaster

    Yes. You can use the link post format for that.

    #20583
    otherwhirl
    Participant

    Hi,
    So I think you meant I could use this format?
    <img”https://slider-image.cm/images/pic.jpg”/&gt;

    But where exactly would I paste this? I tried in the actual post, butthe slider just disappeared.

    Thanks!

    p.s.
    I pasted an example of the code i used but it was removed by your forum πŸ™‚
    http://www.mediafire.com/view/6khs50759l4xvnc/Slider_image_forum_posts.png

    • This reply was modified 9 years, 10 months ago by otherwhirl. Reason: links were removed
    • This reply was modified 9 years, 10 months ago by otherwhirl.
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.