mod_flexicontent imge field error

More
12 years 10 months ago #16782 by tevez15
hey..

I have a problem with the mod_flexicontent, when I select the field that will generate the image, but there is no image, an image only appears with the error.

Urgent help needed, thanks
Attachments:

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

More
12 years 10 months ago - 12 years 10 months ago #16786 by ggppdk
Yes it is a bug (please note that this module is still in development):

at file modules/mod_flexicontent/helper.php
replace the line (it appears twice)
Code:
$thumb = JURI::base().'components/com_flexicontent/librairies/phpthumb/phpThumb.php?src=/'.$src.$conf;
with
Code:
$thumb = JURI::base().'components/com_flexicontent/librairies/phpthumb/phpThumb.php?src='.$src.$conf;
Again please take note that it appears twice

Regards


-- 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...
Last edit: 12 years 10 months ago by ggppdk.

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

More
12 years 10 months ago #16795 by ggppdk
Also if you select an image source to be the article image it is not resized/cropped according to parameters

In same file replace first appearance of
Code:
$thumb = flexicontent_html::extractimagesrc($row);
with
Code:
//$thumb = flexicontent_html::extractimagesrc($row); $articleimage = flexicontent_html::extractimagesrc($row); if ($articleimage) { $src = JURI::base(true) . '/' . $articleimage; $h = '&h=' . $mod_height_feat; $w = '&w=' . $mod_width_feat; $aoe = '&aoe=1'; $q = '&q=95'; $zc = $mod_method_feat ? '&zc=' . $mod_method_feat : ''; $conf = $w . $h . $aoe . $q . $zc; $thumb = JURI::base().'components/com_flexicontent/librairies/phpthumb/phpThumb.php?src='.$src.$conf; } else { $thumb = ''; }

and second appearance with
Code:
//$thumb = flexicontent_html::extractimagesrc($row); $articleimage = flexicontent_html::extractimagesrc($row); if ($articleimage) { $src = JURI::base(true) . '/' . $articleimage; $h = '&h=' . $mod_height; $w = '&w=' . $mod_width; $aoe = '&aoe=1'; $q = '&q=95'; $zc = $mod_method ? '&zc=' . $mod_method : ''; $conf = $w . $h . $aoe . $q . $zc; $thumb = JURI::base().'components/com_flexicontent/librairies/phpthumb/phpThumb.php?src='.$src.$conf; } else { $thumb = ''; }


-- 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
12 years 10 months ago #16798 by micker
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 10 months ago #16896 by tevez15
Thank you, I will put this code, and many of my problems will surely disappear.

But I found another.
When the image is extracted from the main text, I have two sites with this module, one of them works well, does not appear in the other images in the modules.
The settings of categories and modules are the same on both sites.

Can you help me?

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

More
12 years 10 months ago #16900 by ggppdk
Hello,

Can you provide detailed info. I mean provide all relevant configuration scenario info.

Regards


-- 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.327 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