Item publish and unpublish configuration question

More
11 years 1 month ago #46861 by dealio
Hi this is the image field. It was working fine before the upgrading it to beta 2.2.

The image displays fine within the Item Details but the category list does not show the thumbnails. I didn't change any settings before the upgrade.

version 2.1.3 r1857

Joomla 3.2.3
Attachments:

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

More
11 years 1 month ago #46862 by dealio
Added one more image of category setting

version 2.1.3 r1857

Joomla 3.2.3
Attachments:

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

More
11 years 1 month ago #46863 by dealio
I noticed in the URL its has:



/demo/components/com_flexicontent/librairies/phpthumb/phpThumb.php?src=/demo//demo/images/luvings/ads/thumbs/item_3_field_18/l_key_rod_tip.jpg&w=90&h=90&aoe=1&q=95



"src=/demo//demo/" If i change it to

"src=/demo/..." then it works

"demo" directory is listed twice is that right? See screen capture.

Thanks

version 2.1.3 r1857

Joomla 3.2.3
Attachments:

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

More
11 years 1 month ago #46905 by ggppdk
Hello


about this, i cannot replicate it in my local copies



so you may a send a PM with
- site URL
- super admin access
- a few words of steps to follow to view the problem, (remember i don't know the structure of your web-site, e.g. don't know which frontend URL show the problem, or which image field show this issue out of e.g. 5 that you may have etc, so please provide details)

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.

More
11 years 1 month ago #46917 by dealio
Hi,

this if for "FLEXIcontent v2.2.0 r1901 BETA for J2.5/J3.x"

I changed in
/plugins/flexicontent_fields/image/image.php

FROM:
Code:
// ADD some extra (display) properties that point to all sizes, currently SINGLE IMAGE only if ($i==0) { $field->{"display_backend_src"} = JURI::root(true).'/'.$srcb; ... } $field->thumbs_src['backend'][] = JURI::root(true).'/'.$srcb; ...

TO:
Code:
// 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->thumbs_src['backend'][] = JURI::root(false).''.$srcb; ...


Not sure why, but it go rid of the duplicate root directory.
FROM:
"src=/demo//demo/images/thumbs..."

TO:
"src=/demo/images/thumbs..."

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 #46918 by ggppdk
Hello

-- this is useful feedback,

-- since it shows what you have done wrong, and will help us answer similar questions in the future, maybe we should also add warning inside the image field too:



Please do these:
1. restore original code
2. set the thumbnail path to be relative to your Joomla folder and not absolute,

- relative means do not include the subfolder:
instead of bad: /demo/dir1/dir2
enter: dir1/dir2




See the popup description of the thumbnail folder, below:

Folder where the thumbnails will be stored, relative to your joomla site, (No slash at the begining, no slash at the end!)

If Folder mode is enabled, then subdirectories will be created for every content item, and furthermore the image original files will be placed here instead of the Global FLEXIcontent document (secure) folder


thanks for feedback

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