image "extract from content"

More
9 years 5 months ago #55001 by tonnick
that basically, in my category template option(blog template), at image source level, I have only "extract from main text". nothing else.

So, if I want to use the option from compatibility tab on my item to set a picture to be displayed in the category item list, I does not work as the category template configuration has no option to take this picture. :(

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #55011 by ggppdk
Replied by ggppdk on topic image "extract from content"
After you can configure an image field to use the "intro/full" images

you can select this image field (in the blog template parameter "image source") instead of "extract from content"


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago - 9 years 4 months ago #55971 by Solinfo
Hi

Simillar issue I think

When I put a image in content, it appear in category view (blog layout) as I set the option to extract from content.
When I try to put image with JOOMPLU it doesn't work. I enable content plugin... Moreover, when I put 2 images, one insert in standard way the other with joombutton, the 2 images appear in category view (not in all template)!!!

Any hint?

UPDATE : Extract search for "img src" tag and not for a "joomplu" code... like <a href="joomplu:19"><img class="jg_photo" style="margin: 10px; float: left;" src="index.php?option=com_joomgallery&amp;view=image&amp;format=raw&amp;id=19&amp;type=orig" alt="joomplu:19" />
Thank you
Last edit: 9 years 4 months ago by Solinfo. Reason: more info

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #56003 by ggppdk
Replied by ggppdk on topic image "extract from content"
Hello

question:
- you are inserting an image into the description via a content plugin
- and then you would like that image to be extracted used by FLEXIcontent parameter:
"Extract image from description" ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #56037 by Solinfo
Hi

Sorry for late reply...

Yes, i'm insert an image with joombu (joomGallery plugin and joomplu)....
Yes I would like to extract then... Because, image is well display with all feature of joom galleyr in FlexiContent. But when it is display with in category layout image is not extract. That been said, i'm not sur the feature is available on joomla content or in K2...

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #56044 by ggppdk
Replied by ggppdk on topic image "extract from content"
Hello

Currently we are extracting image from TEXT that content plugins have not been applied

Try/test this change, and we will include it future version:

component/classes/flexicontent.helper.php
(about line 1280-1290, function extractimagesrc)

replace:
Code:
preg_match ($regex, $row->fields['text']->display, $matches);
with:
Code:
if (isset($row->fields['text']->display)) preg_match ($regex, $row->fields['text']->display, $matches); if (empty($matches)) preg_match ($regex, $row->introtext, $matches);


In description field make sure that
- that both item view and category view content plugin triggering is ON
- NONE plugins are selected (=ALL, because you need all for description)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.420 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline