- Posts: 26
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Different Images for Categories
- DaveOzric
-
Topic Author
- Junior Member
-
Less
More
IP: 65.28.47.203
11 years 9 months ago #4034
by DaveOzric
Different Images for Categories was created by DaveOzric
Hello, at first glance I didn't see this as an option but wondered if something is possible.
My client has a few pages he links to on FB when he updates his site. There are no images in these articles but some icons in the footer. Is it possible to have some different images for each page vs a global image?
Just wondering,
Thanks
My client has a few pages he links to on FB when he updates his site. There are no images in these articles but some icons in the footer. Is it possible to have some different images for each page vs a global image?
Just wondering,
Thanks
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 174.44.39.212
11 years 9 months ago #4036
by admin
Olivier.
Replied by admin on topic Different Images for Categories
Hello Dave,
that is the purpose of the plugin, indeed: allowing articles with no images to actually show one when linking to social networks.
Right now the plugin only allows one background image sitewide with a possible logo image embedded. The only difference, for each image, is the article title.
I can see some improvement to the plugin in allowing the selection of a random background image (picked from a specific folder). Is that what you are talking about?
that is the purpose of the plugin, indeed: allowing articles with no images to actually show one when linking to social networks.
Right now the plugin only allows one background image sitewide with a possible logo image embedded. The only difference, for each image, is the article title.
I can see some improvement to the plugin in allowing the selection of a random background image (picked from a specific folder). Is that what you are talking about?
Olivier.
- DaveOzric
-
Topic Author
- Junior Member
-
Less
More
- Posts: 26
IP: 65.28.47.203
11 years 9 months ago #4038
by DaveOzric
Replied by DaveOzric on topic Different Images for Categories
I actually misunderstood this completely. I do not want an image added to the article. I was only hoping it would provide one for Facebook.
Does it have to put the image on the site?
Thanks
Does it have to put the image on the site?
Thanks
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 174.44.39.212
11 years 9 months ago #4039
by admin
Olivier.
Replied by admin on topic Different Images for Categories
Well, if images are not visible, they are not caught up by the social networks (as far as I know).
Actually, I am wondering if, using CSS by setting the image to 'display:none', the image will be picked up or not by the social network.
I just tried it: I have added
to my template.
Facebook still sees the image, not Pinterest.
So that may work for you.
Actually, I am wondering if, using CSS by setting the image to 'display:none', the image will be picked up or not by the social network.
I just tried it: I have added
Code:
.imagefromarticle img { display:none; }
Facebook still sees the image, not Pinterest.
So that may work for you.
Olivier.
- DaveOzric
-
Topic Author
- Junior Member
-
Less
More
- Posts: 26
IP: 65.28.47.203
11 years 9 months ago #4042
by DaveOzric
Replied by DaveOzric on topic Different Images for Categories
I found this other plugin that does seem to be able to do this with some OG tag. I tested it and it did indeed grab this image I selected but it's not in the article.
www.perfect-web.co/joomla/link-with-arti...s-facebook#downloads
This appears to be the tag.
<meta property="og:image" content="http://www.
.com/images/dictionary_page_attorney.jpg"/>
www.perfect-web.co/joomla/link-with-arti...s-facebook#downloads
This appears to be the tag.
<meta property="og:image" content="http://www.
.com/images/dictionary_page_attorney.jpg"/>
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 174.44.39.212
11 years 9 months ago #4043
by admin
Olivier.
Replied by admin on topic Different Images for Categories
Thanks for the info.
When I created the plugin, I wanted something that did not involve adding meta tags - especially that this is just a hack that only works for Facebook.
I only meant for this plugin to show the image in the article thus far.
Now, I may expand on that and allow the plugin to actually hide the image and get into specific code for each social network out there. It will be some later development.
When I created the plugin, I wanted something that did not involve adding meta tags - especially that this is just a hack that only works for Facebook.
I only meant for this plugin to show the image in the article thus far.
Now, I may expand on that and allow the plugin to actually hide the image and get into specific code for each social network out there. It will be some later development.
Olivier.
The following user(s) said Thank You: DaveOzric
