Error link photo

This topic contains 8 replies, has 3 voices, and was last updated by  Alex Rollin 7 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #410883

    memorex13
    Expired Member
    Post count: 540

    hello,
    Which could be the reason why a photo can not be added to the description of the location. The user copies the photo of his web and pastes it in the description but later it is not seen.
    Thanks

    #410884

    memorex13
    Expired Member
    Post count: 540
    This reply has been marked as private.
    #410893

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #410931

    memorex13
    Expired Member
    Post count: 540

    Hi,
    Thanks, I had not realized that the address is not correct.

    #410935

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #411260

    memorex13
    Expired Member
    Post count: 540

    Hi @guust,
    I do not know if I can continue here with the thread since this is all the information or I have to start another one.
    I commented, I investigated and I have seen the failure then to copy a photo of any web and that begins with “http: //” and paste it in the description and after saving the place the link changes to “https: // “therefore the photo can not be found. I change the link to “http: /” and after saving it again it is saved with “https: //” The only way is to upload it to the root and then add it to work.
    Thanks

    #411299

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    It sounds like you are running a plugin that helps with making sure your links are SSL/https.

    This is great! Because https is really important! But! It means you should consider that hosting links on your site to insecure content is ‘against the rules’ of the plugin (and also will cause errors in your console, in all likelihood) and, in the end, result in the image links failing. However, this is not a GeoDirectory issue, this is about your strategy for SSL on your WP website.

    Image uploads are a supported part of GeoDirectory. Use them, and you won’t have this problem, as you stated.

    Some advice: If you want your site to stop rewriting your links to https, then turn off your SSL plugin or prohibit users from adding links to insecure (non-https) content.

    #411371

    memorex13
    Expired Member
    Post count: 540

    Thanks Alex,
    how can I prohibit users from adding photos, a user copies and pastes the photo, is there any way to do this?
    The SSL can not be deactivated because my site is based on geolocation therefore it would not work.
    Is that the only solution?
    Thank you

    #411381

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Please contact the SSL plugin author for issues related to the SSL.

    We recommend that you advise users to add photos via upload.

    Here is a filter Stiofan put together for limiting HTML:

    https://wpgeodirectory.com/support/topic/disallow-html-in-description-field/#post-218094

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount