• Resolved meingarten

    (@meingarten)


    Hello and ty – great plug in.

    I tried to use your plugin to generate featured images for geodirectory.
    It works, when i put the shortcode into the title. I ve a white background with my theme.

    Post Title:
    <span style=”color:white”>[browser-shot url=”https://www.blumenscheid.com/&#8221; width=”400″ height=”300″]</span><br>Blumenhaus, G?rtnerei und Gartenbau Scheid

    ok i get 1 empty line because of the <br> which is necessarry to get the Title text left.

    My Problem is, i dont want any linking of the image. Or linking to the post itself – like the read more = link to the posts detail page.

    When not using the shortcodes link option, it links to the site of the screenshot.
    When using link ” ” i get 404 Erros, which is clear.

    Do you have an idea – either to switch off linking with the link option
    Or to include the permalink of the post where the shortcode is used.
    I could do this manually but i e 1000ds of addresses to prepare.

    Excuse my English – Have a nice day – Markus

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author binarymoon

    (@binarymoon)

    Hi – thanks for the message.

    I’m afraid there is no way to disable the link from the screenshots. This is not something that I had considered before, and if I remove it then it will change many peoples websites.

    I will keep this in mind as an idea for a future update. I will need to think about the best way to do this so as to not change existing sites.

    Thread Starter meingarten

    (@meingarten)

    ty very much.

    if there is a way to solve it, would be wonderfull. please post.

    I tried to use the link option to link to the permalink of the post i’m using your shortcode. This works. Bradcrumbs off here because different background. Search results Look like this then:

    https://mein-garten.de/adressen/standort/category/blumenlaeden-1/page/3/

    Click the entry Schneider Stephanie Blumenbinderei

    In the Post i used:

    Title – which links to the permalink of the post:
    <span style=”color:white”>[browser-shot url=”www.blattundform.de” width=”400″ height=”300″ target=”blank” link=”https://mein-garten.de/adressen/standort/germany/hessen/kassel/schneider-blumenbinderei/”%5D</span><br>Schneider Stephanie Blumenbinderei

    Post Text, which links to the screenshot website:
    [browser-shot url=”www.blattundform.de” rel=”nofollow” width=”400″ height=”300″ target=”blank”]  

    But now i ve to manually open all posts with entries and insert permalink url manually to your shortcode. I need 3 years to do that for the adresses. So this is not a solution.

    May be there is a way to include the posts permalink where the shortcode is used as an option in your shortcode. That would solve everything and its just an option so nothing would change to the others. I am not a coder. So I tried to generate the needed shortcode syntax with the posts permalink url from the data in my address database and sheets. But no success yet. May beneed some sleep ??

    Any idea?

    Have a nice evening – markus

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    @binarymoon we could easily add the nolink argument back into the shortcode that was used when testing the Gutenberg block? Set it to false by default and wrap a conditional around the anchor. I still have the code in a branch here: https://github.com/ronalfy/browser-shots/blob/gutenberg2/browser-shots.php#L87

    Plugin Author binarymoon

    (@binarymoon)

    oh – that’s true Ron. Would you mind doing a pull request then?

    Thread Starter meingarten

    (@meingarten)

    That sounds good.
    I am about to make a decision to generate the shortcode in spreadsheets for a lot of addresses. And then reimport them into geodirectory.

    I don’t want to push, but when will you know if this will be possible? And how long would it take?

    If it can be implemented soon, I would generate the shortcode in advance. Which syntax do I have to use for the example? Have i to add nolink=”true” ?

    <span style=”color:white”>[browser-shot url=”www.blattundform.de” width=”400″ height=”300″ target=”blank” link=”https://mein-garten.de/adressen/standort/germany/hessen/kassel/schneider-blumenbinderei/”]</span><br>Schneider Stephanie Blumenbinderei

    Best regards, Markus

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    @binarymoon it’s still not working properly in the shortcode. I submitted a PR to fix this: https://github.com/BinaryMoon/browser-shots/pull/6

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    @meingarten you can now do this:

    [browser-shot url="www.blattundform.de" width="400" height="300" target="blank" display_link="false"]

    Thread Starter meingarten

    (@meingarten)

    Hi Ronald,
    ty answering so quick.

    So i will prepare and reimport my sheets the way you wrote.
    Does it already work – or are u shure it will work?
    I ve to spend days to prepare that in my address sheets. So sorry – i ve to ask that.

    Do u think there will be an option in the future to use the permalink of the post where the shortcode is used for a link when the image is clicked?

    Most of the usage of this website screenshot shortcode in my opinion is to show images in archive list of entries of whatever. When the images are clicked they all show the detaille pages. Here again a screenshot without the display_link=”false argument generated by the shortcode leads them to the Website. But users can check as well detailles like adresses, infos and so on. Then they decide to go to that website clicking the image. May be this is not the usage for classic link lists. But for all other things i can imagine it would be the way how it will be used.

    Thank you very much – Markus

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    It works. I’ve tested it with the latest version.

    I’ll leave it up to @binarymoon on the additional feature requests if they are approved for development.

    Plugin Author binarymoon

    (@binarymoon)

    One thing we could do is add a special bit of text to the link property that gets replaced with the current pages permalink.

    So if you enter PERMALINK as the url then it will turn into the permalink. Would that work?

    Thread Starter meingarten

    (@meingarten)

    @ronald,
    thank you so much, yes it works.
    Only Mouse over now shows the ugly cryptic link text.

    Watch here – Anja’s Zauberwald Blumen – first entry:
    https://mein-garten.de/adressen/search/?geodir_search=1&stype=gd_place&s=zauber&snear=&sort_by=&slandkreis___stadtkreis=&sgeo_lat=&sgeo_lon=

    But title field is not developed for such things LOL.

    But binarymoon has an idea with the permalink proposal:

    @binarymoon

    So if you enter PERMALINK as the url then it will turn into the permalink. Would that work?

    This sounds great – would exactly do what i need.
    Would that show the permalink then, with mouseover?

    One more Question to understand better whats going on.
    Is there a way to save the screenshots on the server or are they always generated on the fly? If so, i wonder what will happen when an archive with 24 entrys per page is shown. Are the screenshots then available, when generated once or get they generated each time new, when different users get result pages?

    Hope i dont bore u with all my questions.
    Have a nice day – love&peace markus

    Plugin Author binarymoon

    (@binarymoon)

    Cool – I will make the Permalink change.

    For the mouse over problem do you mean the tooltip? The little box that pops up under the mouse cursor? That’s the title tag. You can set that in the shortcode. Currently, if you don’t set one, it uses the url.

    I’m going to clean that up though. So it’s something like “Screenshot of domain-name”

    Regarding the screenshots. They are generated by a third party service. They store the images and then regenerate them after a couple of days to keep them up to date. Nothing is saved on your server.

    Thread Starter meingarten

    (@meingarten)

    @binarymoon

    Yeah, that’s cool, thanks. Let me know when it’s time and which attribute I have to insert into the shortcode.

    By now i use this in the title of the poste
    [browser-shot url=”https://www.anjas-zauberwald.de/&#8221; width=”400″ height=”300″ display_link=”false”]<br>Anja’s Zauberwald Blumen</p>

    mouse over problem.
    I think that a postes title normaly is not the place for a shortcode. i just tried that.
    Normaly the image preview show the geodirectory category name of the entry.
    With the shortcode instead of a text title, it shows a long, cryptic link.
    You can test that with the link i sent previous message. there a 4 entries. The first is Anjas Zauberwald with the shortcode. The others have a static image of the category.
    mouse over em and u will see, what i mean.

    Have a nice day – markus

    Plugin Author binarymoon

    (@binarymoon)

    The property for the tooltip is alt, so it would be

    [browser-shot url="" alt="text here"]

    Rather than me keep publishing plugin updates you can download the latest version here:
    https://github.com/BinaryMoon/browser-shots

    Then I can keep iterating and publish once all the changes are finished.

    There’s a download button in the top right, select the zip option. It may introduce a second plugin with the same name, but it should still function the same.

    Thread Starter meingarten

    (@meingarten)

    @binarymoon

    ty – yes i will download from github.
    Did that now with version 1.7.3

    Alt attribute used but mouse over cryptic text remains

    Would be nice if u could send a 1 line notice here if u changed anything relevant for my subject. So i dont have to look all the time at github.
    have a good day – markus

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘featured image with geodirectory’ is closed to new replies.