Item publish and unpublish configuration question

More
11 years 1 month ago #47076 by dealio
Hi i found a work around I changed

In plugins/flexicontent_fields/image/image.php


I changed JURI::root(true) to false




// ADD some extra (display) properties that point to all sizes, currently SINGLE IMAGE only
if ($i==0) {
$field->{"display_backend_src"} = JURI::root(false).''.$srcb;
$field->{"display_small_src"} = JURI::root(false).''.$srcs;
$field->{"display_medium_src"} = JURI::root(false).''.$srcm;
$field->{"display_large_src"} = JURI::root(false).''.$srcl;
$field->{"display_original_src"} = JURI::root(false).''.$srco;
}
$field->thumbs_src[] = JURI::root(false).''.$srcb;
$field->thumbs_src[] = JURI::root(false).''.$srcs;
$field->thumbs_src[] = JURI::root(false).''.$srcm;
$field->thumbs_src[] = JURI::root(false).''.$srcl;
$field->thumbs_src[] = JURI::root(false).''.$srco;

$field->thumbs_path[] = JPATH_SITE.DS.$srcb;
$field->thumbs_path[] = JPATH_SITE.DS.$srcs;
$field->thumbs_path[] = JPATH_SITE.DS.$srcm;
$field->thumbs_path[] = JPATH_SITE.DS.$srcl;
$field->thumbs_path[] = JPATH_SITE.DS.$srco;



This seems to remove the duplicate root.

version 2.1.3 r1857

Joomla 3.2.3

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

More
11 years 1 month ago #47077 by ggppdk
Hello

you have not answered me i said that you should use original r1901 image.php code

with a relative folder path,

relative to you joomla folder root

have you placed a relative folder path ! ?


-- 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.317 seconds
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
Save