• Home
  • Get help
  • Ask a question
Last post 5 hours 44 min ago
Posts last week 110
Average response time last week 29 min
All time posts 67424
All time tickets 10424
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2800 – Social-Share-Image takes the logo

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 05 October 2016 10:41 UTC
Diarmiud
 Hi,

I want to use the function "use first images on site" for my website www.xxxx.de. We use the Protostar-Template. Sh404sef takes everytime the logo as the first picture. But we want to have the first picture from the content :-) What can we do? Thanks a lot!

PS: In the moment we use "Take last picture". But thats no good way...
 
Wednesday, 05 October 2016 10:44 UTC
wb_weeblr
Hi

1 - Well, if the logo is the first image on your page, then it's normal that sh404SEF use it, right?
2 - There is no "Take last picture". Do you mean "Use largest picture"? what happens when you do that?
3 - What's the site? where can I see that?

You can also set the image from the URL manager (see documentation on this page).

Rgds
 
Wednesday, 05 October 2016 10:59 UTC
Diarmiud
1. I think is more logical, that sh404sef takes the first picture from the content, not from the template - I think, that is often the logo.
2. Oh - in the german translation stand "use last image in the content" - I send you the image in the attachement. When we use that, the result is diffrent. Sometimes the logo is taken, too.
3. The site is xxxx.de - I changed to "use first image", so you can see that.

I know the URL-Manager-Function. But it would be much easier, when sh404sef would takte the first picture from the content automatically (sorry, from the article :-)
 
Wednesday, 05 October 2016 11:07 UTC
wb_weeblr
Hi

1 - That's what we do, if we talk about a Joomla article. This site seems to be a single page site. Is this a Joomla article?
2 - OK, I will pass that on to the German translator
What this does is look for the largest image. So if your logo is the largest, it will be used.
3 -
I know the URL-Manager-Function. But it would be much easier, when sh404sef would takte the first picture from the content automatically (sorry, from the article :-)
It would be good for your use case, but not for everyone:

- It is actually very unusual that the logo is the largest image on a page
- many people have several images per article, and the first one is not always the best one.

Which is why "Use largest image" is the most common setting used by our users.

Also, this has to work too when there is no Joomla article, for instance on Virtuemart or Hikashop pages, on Zoo or K2, SobiPro etc

Rgds
 
Wednesday, 05 October 2016 11:13 UTC
Diarmiud
Thank you for the answer.

1. I don't mean the homepage, that is no problem. I mean an article like:
http://www.xxxx.de/selbstwert/komfortzone-erweitern.html

Sh404sef always uses <meta property="og:image" content="http://www.xxxx.de/images/gazette/logo.gif" />

With both: "Use first image" or "Use largest image" the logo is taken.

Do you have a solution for that case?

 
Wednesday, 05 October 2016 12:28 UTC
wb_weeblr
Hi

With both: "Use first image" or "Use largest image" the logo is taken.
Yes, that's normal, on this page, the logo is indeed the largest image, so it's selected.

There are 2 solutions I think:

1 - force the image, through the URL manager
2 - Maybe use the "Full article image" Joomla feature to select the desired image. This will make sh404SEF use that over the other ones normally. There was a bug related to that in last version though, so you'll need to use the current dev version.

As a side note, I also visited http://www.xxxx.de/humor-anekdoten/eine-anekdote-ueber-franz-liszt.html, and this one is not going to work any way, because the image on this page is too small (FB images need to be at least 200x200).

We also have some improvements coming in that field (ie adjusting the image selection), but that will be in next feature version, in a month or two at least.

Rgds
 
Wednesday, 05 October 2016 13:42 UTC
Diarmiud
Thank you again, I will try this.

One idea left: Could it be a solution to put the logo as a background of a div-container?
 
Wednesday, 05 October 2016 13:43 UTC
wb_weeblr
Hi

yes, in such case, it would not be part of the page HTML, and thus will not be found. That's a good idea!

Rgds

 
Wednesday, 05 October 2016 15:42 UTC
Diarmiud
Unfortunately not such an good idea. I tryed things like
<div style="max-width: 912px; background-image: url('http://www.xxxx.de/images/gazette/logo.gif'); background-size: 100% 100%; background-repeat: no-repeat;"><img src="http://www.xxxx.de/images/spacer.png" alt="spacer" style="max-width: 912px; max-height: 243px; /></div>

But id doesn't work because of the responsive design ...

So I will wait for the next versions, maybe the improvements can help me.

Anyway, thanks a lot!
Peter
 
Thursday, 06 October 2016 07:03 UTC
wb_weeblr
Hi

Well yes, background image is good, but you have to add all the CSS, including the media queries.

Just check back on the changelog for next version! what we should do is add another setting that lets you specify a root path for the images. In your case, you could say to only, or preferably, select OG images in /images/ogp_images for instance. This would exclude images in /images/gazette.

Rgds
 
Friday, 21 October 2016 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.