blog template for category - image problem

More
11 years 11 months ago #31971 by rottenberg
hello
FC version : RC9B 1601
Joomla version : 2.5.8


I have copied the blog template to use the category template.

I have a prolblem with the images in the category view.

My problem : I want to show articles on home page.

The category is not the main one for quite all articles.
I'm using a copy of blog template.

The image is taken from a field which exists on all articles.

In my page or I have no image and a hph image error (phpthumb) or I get image of one article in all the articles.

I have done some checkings : the site is a new one (no transfer from J1.5). I have verified that the template is a j2.5 one: It is.

How can I solve this problem

thank you for help

best regards

Michel

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

More
11 years 11 months ago #31981 by ggppdk
1. Does it work with original blog template (not the copied one)?

2. You could temporarily enable phpthumb error display to see what is wrong:

Inside components/com_flexicontent/libraries/phpthumb/phpThumb.config.php
change:
$PHPTHUMB_CONFIG = true;
to:
$PHPTHUMB_CONFIG = false;

then refresh page and phpthumb error message should now be printed


-- 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 11 months ago #31989 by rottenberg
Hello

I have replaced the template by the blog one. The result is the same.

in the file name of the image I doesn't get the directory name.

ex : I get
images/stories/flexicontent/s_01_couv.jpg
between the 'flexicontent' and the name of the file the name of the directory is no present.

I think I already got this problem but It was with a FC1.5 transcoded FC 2.


the Phpthumb problem is thet there is no image to translate.

the name of the site is the same I sent you a few minuts ago for the CSS question.

thank you for help

best regards

Michel

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

More
11 years 11 months ago #32004 by ggppdk
OK,

-- i see that you have image field as item image for the category view

1. what is the setting of "image source" parameter , did you change it?

2. did you change "image folder" parameter ?
what is current value of it?

(make sure you open and check parameters for correct image field if you have more than one image/gallery fields)


-- 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 11 months ago #32042 by ggppdk
I found a bug related to default image, will provide a fix


-- 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 11 months ago #32077 by ggppdk
Hello to
To fix image problem replace 2 occurrences of (file category_items.php):
Code:
if ( $img_field->parameters->get('image_source') && empty($img_field->value[0]['is_default_value'] ) ) {
with
Code:
if ( $img_field->parameters->get('image_source') && empty($value{$i}['is_default_value'] ) ) {

Fix will be in next public release


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